View source: R/markerGenesAndMapping.r
fractionCorrectPerNode | R Documentation |
This function returns the fraction correctly assigned to each node (as defined that the actual and predicted cluster are both in the same node)
fractionCorrectPerNode(
dendIn,
clActual,
clPredict,
minCount = 0.1,
defaultSum = -1,
out = NULL
)
dendIn |
dendrogram for mapping. Ignored if minimizeHeight=FALSE |
clActual |
character vector of actual cluster assignments |
clPredict |
character vector of predicted cluster assignments |
minCount |
set to 0 results from clusters with fewer than this number of cells (default is to consider all clusters) |
defaultSum |
value to return in cases where there are fewer than minCount cells in the actual cluster (e.g., cases that aren't considered at all) |
out |
required for recursive function. Do not set! |
matrix of two columns: (1) node name and (2) the fraction of cells in that node that are correctly assigned
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.