This function takes as input an ordered set of marker genes (e.g., from at iterative algorithm), and returns a vector showing the fraction of cells correctly mapped.

fractionCorrectWithGenes(
  orderedGenes,
  mapDat,
  medianDat,
  clustersF,
  verbose = FALSE,
  plot = TRUE,
  return = TRUE,
  ...
)

Arguments

orderedGenes

an ordered list of input genes (e.g. from an iterative algorithm)

mapDat

normalized data of the mapping (=reference) data set.

medianDat

median value for each leaf

clustersF

cluster calls for each cell

verbose

whether or not to show progress in the function

plot

if TRUE, plotCorrectWithGenes is run

return

if TRUE, the value is returned

...

parameters passed to plotCorrectWithGenes (if plot=TRUE)

Value

a vector showing the fraction of cells correctly mapped to each cluster