Description Usage Arguments Value Author(s)
View source: R/normalize_library_depth_relative.R
Normalizes library depth from a counts file by dividing the counts of each sample by its total and multiplying all samples by a constant total number of reads.
1 | normalize_library_depth_relative(counts, norm_total)
|
counts |
A data frame of counts for each sample in the study (samples as columns, gRNAs as rows). |
norm_total |
An integer specifying the fixed total number of reads each sample will be set to (e.g. 2e7). If 'NULL', then the median total across the samples is used. |
A data frame in which the sample columns are library-depth normalized.
Alex T. Kalinka, alex.kalinka@cancer.org.uk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.