SubsetGenes {countland} | R Documentation |
Subsets genes using a vector of gene indices
Description
Subsets genes using a vector of gene indices
Usage
SubsetGenes(C, gene_indices, remove_empty = TRUE)
Arguments
C |
countland object |
gene_indices |
vector of gene 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 <- SubsetGenes(C,gene_indices=1:200)
[Package countland version 0.1.2 Index]