estimate_size_factors: Function to calculate size factors for single-cell RNA-seq...

Description Usage Arguments Value

View source: R/utils.R

Description

Function to calculate size factors for single-cell RNA-seq data

Usage

1
2
3
4
5
estimate_size_factors(
  cds,
  round_exprs = TRUE,
  method = c("mean-geometric-mean-total", "mean-geometric-mean-log-total")
)

Arguments

cds

The cell_data_set

round_exprs

A logic flag to determine whether or not the expression value should be rounded

method

A string to specify the size factor calculation approach. Options are "mean-geometric-mean-total" (default), "mean-geometric-mean-log-total".

Value

Updated cell_data_set object with a new colData column called 'Size_Factor'.


cole-trapnell-lab/monocle3 documentation built on April 8, 2021, 5:54 a.m.