calculate.qfdrp: calculate.qfdrp

Description Usage Arguments Value Author(s)

View source: R/calculate_scores.R

Description

This function calculates the qFDRP scores for the reads given in the bam files for the CpGs present in the annotation.

Usage

1
2
3
4
5
6
7
8
9
calculate.qfdrp(
  bam.file,
  anno,
  log.path = getwd(),
  cores = 1,
  window.size = get.option("window.size"),
  use.sex.chromosomes = FALSE,
  ignore.strand = TRUE
)

Arguments

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 ignore.strand parameter from the function findOverlaps

Value

qFDRP scores for the given annotation.

Author(s)

Michael Scherer


MPIIComputationalEpigenetics/WSHPackage documentation built on Dec. 14, 2021, 11:49 a.m.