View source: R/markerGenesAndMapping.r
distTreeMapping | R Documentation |
Returns the distance between expression of each cell and representative value for each node and leaf (default is based on euclidean distance). In our hands this is does not work very well.
distTreeMapping(
dend = NA,
refDat = NA,
mapDat = refDat,
medianDat = NA,
clusters = NA,
genesToMap = rownames(mapDat),
returnSimilarity = TRUE,
use = "p",
...
)
dend |
dendrogram for mapping. Ignored if medianDat is passed |
refDat |
normalized data of the REFERENCE data set. Ignored if medianDat is passed |
mapDat |
normalized data of the MAPPING data set. Default is to map the data onto itself. |
medianDat |
representative value for each leaf and node. If not entered, it is calculated |
clusters |
cluster calls for each cell. Ignored if medianDat is passed |
genesToMap |
which genes to include in the correlation mapping |
returnSimilarity |
FALSE to return distance, TRUE to return something like a similarity |
use, ... |
additional parameters for dist (for back-compatiblity; doesn't work) |
matrix of Euclidean distances between cells (rows) and clusters (columns)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.