methylation_gtrellis: Plot coverage and methylation for a single sample

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/methylation_qc_and_distribution.R

Description

Plot coverage and methylation for a single sample

Usage

1
2
3
methylation_gtrellis(sid, chromosome = paste0("chr", 1:22),
    species = "hg19", nw = 10000, pch = 16, pt_gp = gpar(size = unit(1, "mm")), transparency = 0.8,
    title = qq("Distribution of CpG coverage and methylation for @{sid}"), ...)

Arguments

sid

a single sample ID

chromosome

a vector of chromosome names

species

species

nw

number of windows to segment the genome

pch

point type

pt_gp

graphic parameters for points (col will be excluded)

transparency

transparency of points

title

title of the plot

...

pass to gtrellis_layout

Details

The whole genome is segented by nw windows and mean methylation and mean CpG coverage are visualized as two tracks.

Value

No value is returned.

Author(s)

Zuguang Gu <z.gu@dkfz.de>

See Also

methylation_gtrellis_multiple_samples visualizes methylation for multiple samples.

Examples

1
2
# There is no example
NULL

jokergoo/epik documentation built on Sept. 28, 2019, 9:20 a.m.