report_DMRs: Report DMR analysis.

Description Usage Arguments Details Value

Description

Report the DMR tables in BED format and plots to inspect the results after DMR detection.

Usage

1
2
report_DMRs(dmr.gr, array.annot.gr, betas = NULL, annot = NULL,
  prefix = "DMR")

Arguments

dmr.gr

a GRanges object produced by 'extractRanges' from the 'DMRcate' package

array.annot.gr

a GRanges object with array annotation

betas

a matrix of beta values

annot

a data frame with sample annotation

prefix

character, file prefix to store the results

Details

DMRs are reported in BED format, sorted by chromosomal location.

In order to produce compatible BED files, 'array.annot.gr' is sorted

'betas' is a matrix with the methylation level (Beta-value) of the CpGs. If 'betas' is provided, a heatmap is produced using the beta values corresponding to the CpG of the top DMRs, given the 'Stouffer', that sum up to 500 CpGs.

If 'annot' is specified, the sample annotation is included in the heatmap.

'prefix' is the file prefix used to store the DMR results and plots.

Value

None


xpastor/skima documentation built on May 16, 2019, 3:25 p.m.