fractionCorrectPerNode.RdThis 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
)dendrogram for mapping. Ignored if minimizeHeight=FALSE
character vector of actual cluster assignments
character vector of predicted cluster assignments
set to 0 results from clusters with fewer than this number of cells (default is to consider all clusters)
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)
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