View source: R/markerGenesAndMapping.r
buildQualityTable | R Documentation |
This function takes as input an ordered set of marker genes (e.g., from at iterative algorithm, and returns an table showing the fraction of cells correctly mapped to a similar cell type (as defined by the heights parameter). A height of 1 indicates correct mapping to the leaf.
buildQualityTable(
orderedGenes,
dend,
mapDat,
medianDat,
clustersF,
minVal = 2,
heights = c((0:100)/100),
verbose = FALSE
)
orderedGenes |
an ordered list of input genes (e.g. from an iterative algorithm) |
dend |
dendrogram for mapping. |
mapDat |
normalized data of the mapping (=reference) data set. |
medianDat |
median value for each leaf |
clustersF |
cluster calls for each cell |
minVal |
minimum number of genes to consider from the list in the mapping |
heights |
height in the tree to look at |
verbose |
whether or not to show progress in the function |
a matrix of fractions of cells correctly mapped for different tree heights (columns) and different gene panels (rows)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.