cells2AvgExprDGE: cells2AvgExprDGE

Description Usage Arguments

View source: R/PseudoBulk.R

Description

cells2AvgExprDGE

Usage

1
2
3
4
5
6
7
8
cells2AvgExprDGE(
  so = NULL,
  group.by = NULL,
  downSample = F,
  sampleNmax = NULL,
  slot = "data",
  genes = NULL
)

Arguments

so

A Seurat Object

group.by

a parameter in the Seurat Objects's meta to sample againts factor-levels

downSample

If True random sampling is performed to return equal number of cells across group.by. if sampleNmax = NULL this is set by min cells found across all group.by factor levels

sampleNmax

maximum number of cells to sample from, if greater than any given group.by factor level since relace = F the maximum number avaiable for that level is taken. leave as NULL if equal number of samples across all levels is desired determined by the lowest number of cells across group.by factor-levels.

slot

Passed directly to Seurat::AverageExpression slot parameter.

genes

A vector of genes desired, leave as NULL for all genes.


bimberlabinternal/OOSAP documentation built on Jan. 19, 2021, 2:47 a.m.