Description Usage Arguments Details Value Author(s)
View source: R/calculate_scores.R
calculate.fdrp.site This function compute the FDRP score for a given cpg site.
1 | calculate.fdrp.site(pos, cpg, reads, site)
|
pos |
index of the cpg site |
cpg |
list containing the mapping from each cpg site to the reads that contain this site |
reads |
GRanges object containing the reads needed for the calculation of the FDRP, already converted into the custom representation |
site |
position of the CpG site of interest as an integer number |
This function is called by calculate.fdrps.chromosome each CpG present on the chormosome and calls compute.discordant for each pair of reads.
FDRP score for the given CpG site
Michael Scherer we actually calculate the FDRP as frac#discordant read pairs#all read pairs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.