methHeatmap {MethTargetedNGS} | R Documentation |
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.
methHeatmap(Sample, yl = "", plot = TRUE, title = "")
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 |
Heatmap
Ahmer Jamil engr.ahmerjamil@gmail.com
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)