powered by
Return a list of genes with the strongest contribution to a set of principal components
PCTopCells(object, pc.use = 1, num.cells = NULL, do.balanced = FALSE)
Seurat object
Principal component to use
Number of cells to return
Return an equal number of cells with both + and - PC scores.
Returns a vector of cells
# NOT RUN { pbmc_small head(PCTopCells(object = pbmc_small)) # Can specify which dimension and how many cells to return DimTopCells(object = pbmc_small, dim.use = 2, num.cells = 5) # }
Run the code above in your browser using DataLab