combineCGGCgr: Convert Genomic ranges list to single genomic range with...

View source: R/bam2methMats.R

combineCGGCgrR Documentation

Convert Genomic ranges list to single genomic range with sample methylation and total counts in metadata

Description

genomic ranges for CG and GC positions in each samples are combined and sorted. Then genomic ranges from different samples are merged together putting methylation frequency (_M) and total read counts (_T) for each sample in the metadata.

Usage

combineCGGCgr(methFreqGR, samples)

Arguments

methFreqGR

A list (by sample) of a list (by C context) of genomic ranges for cytosine methylation frquency

samples

a vector of sample names for which to extract the data

Value

A genomic ranges wtih all CG and GC positions found in the samples. The metadata columns contain methylation frequency (_M) and total read count (_T) for each sample


jsemple19/methMatrix documentation built on Aug. 19, 2022, 3:57 p.m.