View source: R/normalize_cytof.R
get_mahalanobis_distance_from_beads | R Documentation |
Calculates the Mahalanobis distance of each event from the centroid of the beads population
get_mahalanobis_distance_from_beads(m, beads.events, beads.cols.names)
m |
The untransformed matrix of data. Must contain a column called |
beads.events |
A vector of length |
beads.cols.names |
The names of the bead columns |
A vector of length nrow(m)
containing the sqrt
of the Mahalanobis distance of each of
m
from the centroid of the beads population
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.