View source: R/calc_derivedasm.R
calc_derivedasm | R Documentation |
Combines all the GRangeslist
generated in extract_bams
into a RangedSummarizedExperiment
object, and calculates
SNP-based allele-specific methylation.
calc_derivedasm(sampleList, cores = 1, verbose = TRUE)
sampleList |
List of samples returned from |
cores |
Number of cores to thread. |
verbose |
If the function should be verbose. |
RangedSummarizedExperiment
containing in assays:
der.ASM: matrix with SNP-based ASM
snp.table: Matrix with SNP associated to the CpG site.
ref.cov: Coverage of the 'reference' allele.
alt.cov: Coevarage of the 'alternative' allele.
ref.meth: Methylated reads from the 'reference' allele.
alt.meth: Methylated reads from the 'alternative' allele.
data(extractbams_output)
derASM <- calc_derivedasm(extractbams_output[c(1,2)], cores = 1,
verbose = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.