normLength: Length-normalization

View source: R/normalization.R

normLengthR Documentation

Length-normalization

Description

Reducing the RMS readcount bias that is due to fragment length.

Usage

normLength(rms.obj, max.train = 1000, readcount.low = 1, verbose = TRUE)

Arguments

rms.obj

A list with RMS data structures, see RMSobject.

max.train

Integer indicating maximum number of data points used to train the loess model.

readcount.low

Lowest readcount considered as valid when training loess model.

verbose

Logical, if TRUE text is written to the Console during computations.

Details

RMS amplicon signals (readcounts) usually have some bias due to varying lengths. This function attempts to remove this bias. It has been described in detail in Snipen et al, 2019.

Value

An rms object similar to rms.obj, but where the Readcount.mat matrix has been normalized, columnwise.

Author(s)

Lars Snipen.


larssnip/microRMS documentation built on July 19, 2023, 1:06 a.m.