Description Usage Arguments Value Author(s)
View source: R/calculate_scores.R
This function calculates the FDRP scores for the reads given in the bam files for the CpGs present in the annotation.
1 2 3 4 5 6 7 8 9 | calculate.fdrp(
bam.file,
anno,
log.path = getwd(),
cores = 1,
window.size = get.option("window.size"),
use.sex.chromosomes = FALSE,
ignore.strand = TRUE
)
|
bam.file |
bath to the bam file to be analyzed already aligned to a reference genome |
anno |
annotation as a GRanges object with the CpG sites to be analyzed |
log.path |
location of the log file |
cores |
number of cores available for the analysis |
window.size |
window size used to restrict the concordance/discordance classification of each read pair DEFAULT: 50 as the maximum distance |
use.sex.chromosomes |
Flag indicating if scores are also to be computed for the sex chromosomes |
ignore.strand |
The |
FDRP scores for the given annotation.
Michael Scherer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.