| calculate_distance {greatR} | R Documentation | 
Calculate distance between sample data before and after registration
Description
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  | 
| type | Whether to calculate distance considering only "registered" genes (default) or "all" genes. | 
| genes_list | Optional vector indicating the  | 
Value
This function returns a dist_greatR object containing two data frames:
| registered | pairwise distance between scaled reference and query expressions using registered time points. | 
| original | pairwise distance between scaled reference and query expressions using original time points. | 
[Package greatR version 2.0.0 Index]