normalize_library_depth_relative: normalize_library_depth_relative

Description Usage Arguments Value Author(s)

View source: R/normalize_library_depth_relative.R

Description

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.

Usage

1

Arguments

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.

Value

A data frame in which the sample columns are library-depth normalized.

Author(s)

Alex T. Kalinka, alex.kalinka@cancer.org.uk


alex-kalinka-cruk/fgcQC documentation built on June 23, 2020, 9:05 p.m.