| ref_dist_samplewise | R Documentation |
This function calculated the average topological distance of samples to a geoup of samples.
ref_dist_samplewise(obj_mapper, groups_ind, ref)
obj_mapper |
An object of class |
groups_ind |
A vector of group names each of the samples belongs to. |
ref |
A string object specifying the name of the reference group. |
A vector of the average distance to the selected group of samples.
Distance of samples in the outlier nodes will be set to NA. Length
of the vector will be the number of samples.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.