Usage
"cpgDensityCalc"(x, organism, ...) "cpgDensityCalc"(x, organism, verbose = TRUE, ...) "cpgDensityCalc"(x, organism, seq.len = NULL, window = NULL, w.function = c("none", "linear", "exp", "log"), verbose = TRUE)
Arguments
x
A data.frame, with columns chr and position,
or columns chr, start, end, and strand.
Also may be a GRangesList object, or GRanges.
window
Bases around the locations that are in the window. Calculation
will consider window/2 - 1 bases upstream, and
window/2 bases downstream.
w.function
Weighting function to use. Can be "none", "linear",
"log", or "exp"
organism
The BSgenome object to calculate CpG density upon.
seq.len
The fragment size of the sequence reads in x.
Default: No extension.
verbose
Print details of processing.
...
Arguments passed into the data.frame or GRangesList method,
but not used until the GRanges method.