Function to calculate size factors for single-cell RNA-seq data
estimate_size_factors(
cds,
round_exprs = TRUE,
method = c("mean-geometric-mean-total", "mean-geometric-mean-log-total")
)
The cell_data_set
A logic flag to determine whether or not the expression value should be rounded
A string to specify the size factor calculation approach. Options are "mean-geometric-mean-total" (default), "mean-geometric-mean-log-total".
Updated cell_data_set object with a new colData column called 'Size_Factor'.