Description Usage Arguments Details Value Examples
View source: R/backgroundCorrection.R
Correct ratios of read counts per sliding window for background.
1 | backgroundCorrection(ratios, degree = 3, ...)
|
ratios |
A vector of numeric. It is log2-transformed ratios, CPMRatios or OddRatios of counts for each window. |
degree |
Degree of polynomial. default 3. |
... |
parameters could be passed to baseline.modpolyfit. |
This function implements the backgound correction methods of
algorithm for polynomial fitting. See details via
baseline.modpolyfit. This function expects
the trendency of decreasing of the ratios from 5' end to 3' end.
A vector of numeric. It is the background corrected log2-transformed ratios, CPMRatios or OddRatios.
1 2 3 | x <- runif(200)
background <- rep(c(20:1)/100, each=10)
backgroundCorrection(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.