calc_derivedasm: Calculate SNP-based ASM

Description Usage Arguments Value Examples

View source: R/calc_derivedasm.R

Description

Combines all the GRangeslist generated in extract_bams into a RangedSummarizedExperiment object, and calculates SNP-based allele-specific methylation. TODO: Doesn't work for one sample

Usage

1
calc_derivedasm(sampleList, cores = 1, verbose = TRUE)

Arguments

sampleList

List of samples returned from extract_bams.

cores

Number of cores to thread.

verbose

If the function should be verbose.

Value

RangedSummarizedExperiment containing in assays:

Examples

1
2
3
data(extractbams_output)
derASM <- calc_derivedasm(extractbams_output[c(1,2)], cores = 1, 
   verbose = FALSE)

DAMEfinder documentation built on Nov. 8, 2020, 11:10 p.m.