meth.plot: Methylation plot

View source: R/methplot.R

meth.plotR Documentation

Methylation plot

Description

Represents the methylation values for all the samples and the detected DMRs present in a defined region of the genome.

Usage

meth.plot(genome, chr, start, end, sites, regions, enhancers, group)

Arguments

genome

Reference genome. Available genomes: hg19, hg38 and mm39.

chr

Chromosome.

start

First position (included).

end

Last position (included).

sites

GRanges object containing the CpG sites and its methylation values associated.

regions

GRanges object or data.frame containing the detected DMRs.

enhancers

data.frame containing the location of enhancers (optional).

group

Feature to group the samples (optional).

Examples

genome <- "hg19"
chr <- "chr7"
start <- 14111939
end <- 15071940
group <- c("control", "cond_A", "cond_A", "cond_B", "control", "cond_A", ...)

raulsanzr/methtools documentation built on June 30, 2022, 5:58 p.m.