Calculate distance between sample data before and after registration
Source:R/distance.R
calculate_distance.Rd
calculate_distance()
is a function that allows users to calculate
pairwise distances between samples from different time points to
investigate the similarity of progression before or after registration.
Usage
calculate_distance(results, type = c("registered", "all"), genes_list = NULL)
Arguments
- results
Result of registration process using
register()
.- type
Whether to calculate distance considering only "registered" genes (default) or "all" genes.
- genes_list
Optional vector indicating the
gene_id
values to be considered.