This is a lightweight re-implementation of the normalization factors
calculation from the `edgeR` package
Usage
calc_norm_factors(counts, method = "TMM", ref_column = NULL, ...)
Arguments
- counts
Matrix of read counts with one row per gene and one column
per sample
- method
Method to use
- ref_column
Column id of counts to use as reference
- ...
Additional arguments passed to `method` function
See also
[https://code.bioconductor.org/browse/edgeR]