calculate.pdr.by.chromosome: calculate.pdr.by.chromosome

Description Usage Arguments Value Author(s)

View source: R/calculate_scores.R

Description

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

Usage

1
calculate.pdr.by.chromosome(bam, anno, ignore.strand = TRUE)

Arguments

bam

bam file with the reads from a bisulfite sequencing technique already aligned to a reference genome

anno

annotation as a GRanges object with the CpG sites to be analyzed

ignore.strand

The ignore.strand parameter from the function findOverlaps

Value

vector of pdr scores for the given CpG sites in anno

Author(s)

Michael Scherer


MPIIComputationalEpigenetics/WSH_package documentation built on Oct. 19, 2021, 12:14 p.m.