get_mean_condition_counts: Get mean read counts for cells belonging to a condition

Description Usage Arguments Value Examples

View source: R/get_mean_condition_counts.R

Description

get_mean_condition_counts finds the mean counts for cells belonging to a condition e.g. genotype in a CellDataSet object and returns the values in the pData of CellDataSet object

Usage

1
get_mean_condition_counts(cds, condition, read_type = "UMIs")

Arguments

cds

a CellDataSet object used in the monocle package

condition

column name in pData(cds) that specifies the condition for classifying cells e.g. genotype

read_type

string specifying type of reads in expression matrix; defaults to "UMIs"

Value

CellDataSet object

Examples

1
dat <- get_mean_condition_counts(dat, condition="genotype")

jacobheng/cellwrangler documentation built on Aug. 12, 2019, 6:49 a.m.