Merges similar transcriptional profiles into representative 'pools'
the expression data matrix
control over the target number of cells to put into each supercell
name of filtering method ('threshold' or 'fano') or list of genes to use when computing projections.
Threshold to apply when using the 'threshold' or 'fano' projection genes filter. If greater than 1, this specifies the number of cells in which a gene must be detected for it to be used when computing PCA. If less than 1, this instead specifies the proportion of cells needed
Number of median absolute deviations to use when selecting highly-variable genes in each mean-sorted bin of genes
(Optional) Latent space to be used instead of PCA numeric matrix cells x components
Number of neighbors to use for finding pools.
pooled cells - named list of vectors - cells in each supercell
A latent space is computed for the expression data via PCA after
filtering on genes (using parameters filterInput
and filterThreshold
).
Alternately, a latent space can be supplied via the latentSpace
argument
Euclidean distance within the latent space is then used to create cell pools