generateMultipleCellReferenceSet.RdCreates a new reference set as input for cellToClusterMapping_byRank, where each 'cell' is the combiniation of several cells and this is run several times using different subsets of cells.
generateMultipleCellReferenceSet(
refDat,
clustersF,
genesToUse = rownames(refDat),
cellsPerMerge = 5,
numberOfMerges = 10,
mergeFunction = rowMedians,
seed = 1
)normalized data of the REFERENCE data set
factor indicating which cluster each cell type is actually assigned to in the reference data set
Number of cells to include in each combo cell
Number of combo cells to include per cell type
function for combining cells into combo cells (use rowMeans or rowMedians)
for resproducibility
which genes to include in the correlation mapping
list where first element is data matrix of multi-cells by genes and second element is a vector of corresponding clusters