methHeatmap {MethTargetedNGS}R Documentation

Generate Heatmap of the given methylation data.

Description

Heatmaps are the way of visualizing methylation statuses of a sample. This function allows user to visualize methylation statuses at each CpG site for every sequence available in pool.

Usage

methHeatmap(Sample, yl = "", plot = TRUE, title = "")

Arguments

Sample

Matrix from methAlign. Also matrix where columns represents Cytosine of CpG sites and rows represents sequences.

yl

Ylabel for heatmap

plot

Boolean. If plot == FALSE, function will return a matrix of 1s and 0s. If plot == TRUE, function will create a heatmap as well as return a matrix of 1s and 0s

title

Title of the heatmap

Value

Heatmap

Author(s)

Ahmer Jamil engr.ahmerjamil@gmail.com

See Also

methAlign

Examples

healthy = system.file("extdata", "Healthy.fasta", package = "MethTargetedNGS")
reference = system.file("extdata", "Reference.fasta", package = "MethTargetedNGS")
healthy = methAlign(healthy,reference)
hHeatmap = methHeatmap(healthy,plot=TRUE)

[Package MethTargetedNGS version 1.24.0 Index]