Description Usage Arguments Value Examples
ExoDataSubsampling
samples sample.reads
from the ChIP-exo experiment and creates a list
of ExoData
objects
1 2 3 |
file |
a character value with location of the bam file with the aligned reads. |
reads |
a |
sample.depth |
a numeric vector with the number of reads to be sampled. |
height |
a numeric value indicating the value used to slice the coverage of the experiment into a set of regions. |
nregions |
a numeric value indicating the number of regions sampled to estimate the quality parameter distributions. The default value is 1e3. |
ntimes |
a numeric value indicating the number of times that regions are sampled to estimate the quality parameter distributions. The default value is 1e2. |
verbose |
a logical value indicating if the user want to receive progress details. The default value is FALSE. |
save.reads |
a logical value to indicate if the reads are stored in the
|
mc.cores |
a numeric value with the number of cores to use, i.e. at most how many child processes will be run simultaneously. |
It returns an ExoData
object with the regions obtained after
partitioning the genome and the summary statistics for each region. If the
save.reads
parameter is TRUE
then it contains a GRanges
object with the reads of the ChIP-exo experiment.
1 2 3 4 | files <- list.files(system.file("extdata",package = "ChIPexoQualExample"),
full.names = TRUE)
sample.depth <- seq(1e5,2e5,5e4)
ExoDataSubsampling(file = files[5],sample.depth = sample.depth)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.