View source: R/meth1DDensity.R
meth1DDensity | R Documentation |
Create a 1D density plot of methylation level
meth1DDensity(betas, line.color = "red", ylabel = "Sample")
betas |
BSseq or matrix of methylation levels (assumes matrix colnames are the sample names) |
line.color |
Color of plotted line (default: "red") |
ylabel |
Y-axis label (default: "Sample") |
a ggplot2 object of the density plot
orig_bed <- system.file("extdata", "MCF7_Cunha_chr11p15.bed.gz",
package="biscuiteer")
orig_vcf <- system.file("extdata", "MCF7_Cunha_header_only.vcf.gz",
package="biscuiteer")
bisc <- readBiscuit(BEDfile = orig_bed, VCFfile = orig_vcf,
merged = FALSE)
meth1DDensity(bisc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.