powered by
Return a list of genes with the strongest contribution to a set of components
TopCells(object, dim = 1, ncells = 20, balanced = FALSE, ...)
Returns a vector of cells
DimReduc object
Dimension to use
Number of cells to return
Return an equal number of cells with both + and - scores.
Extra parameters passed to Embeddings
Embeddings
data("pbmc_small") pbmc_small head(TopCells(object = pbmc_small[["pca"]])) # Can specify which dimension and how many cells to return TopCells(object = pbmc_small[["pca"]], dim = 2, ncells = 5)
Run the code above in your browser using DataLab