calculate.mhl: calculate.mhl

Description Usage Arguments Value

View source: R/calculate_scores.R

Description

This function computed the Methylation Haplotype Load (MHL) for all sites in a given annotation by employing the scripts downloaded from the paper's website

Usage

1
2
3
4
5
6
7
calculate.mhl(
  roi,
  bam.file,
  out.folder = getwd(),
  out.name = "mhl.txt",
  bam.type = "bismark"
)

Arguments

roi

Region of interest for which haplotype information should be computed

bam.file

path to bam file containing the reads

out.folder

folder to write the output

out.name

name of the output file

bam.type

alignment tools used to create the bam file

Value

a data frame containing the position in the reference genome and the MHL scores


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