SubsetCells {countland} | R Documentation |
Subsets cells using a vector of cell indices
Description
Subsets cells using a vector of cell indices
Usage
SubsetCells(C, cell_indices, remove_empty = TRUE)
Arguments
C |
countland object |
cell_indices |
vector of cell index values |
remove_empty |
filter out cells and genes with no observed counts (default=TRUE) |
Value
countland object, count matrix updated
Examples
gold_path <- system.file("testdata", package = "countland", mustWork = TRUE)
gold.data <- Seurat::Read10X(data.dir = gold_path)
C <- countland(gold.data)
C <- SubsetCells(C,cell_indices=1:50)
[Package countland version 0.1.2 Index]