SharedCounts {countland} | R Documentation |
Combine groups of genes with similar counts by clustering and summing.
Description
Combine groups of genes with similar counts by clustering and summing.
Usage
SharedCounts(C, n_clusters, n_cells = 100, subsample = TRUE)
Arguments
C |
countland object |
n_clusters |
number of clusters |
n_cells |
number of cells to sample for gene clustering |
subsample |
if TRUE, use subsampled counts (default), otherwise use counts |
Value
countland object with slots shared_counts
, sum_sharedcounts
, sum_sharedcounts_all
Examples
gold_path <- system.file("testdata", package = "countland", mustWork = TRUE)
gold.data <- Seurat::Read10X(data.dir = gold_path)
C <- countland(gold.data)
C <- SharedCounts(C,n_clusters=10,subsample=FALSE)
[Package countland version 0.1.2 Index]