plotSig | R Documentation |
Plot signals with ideograms for GRangesList.
plotSig(ideo, grList, mcolName, ...)
ideo |
Output of loadIdeogram. |
grList |
A GRangesList of data to plot. |
mcolName |
Column name of metadata of GRangesList for plotting. |
... |
Parameters to pass to ideogramPlot |
Invisible argument list for ideogramPlot.
library(trackViewer)
#ideo <- loadIdeogram("mm10")
ideo <- readRDS(system.file("extdata", "ideo.mm10.rds",
package = "NADfinder"))
gr1 <- gr2 <- ideo
mcols(gr1) <- DataFrame(score=runif(length(gr1)))
mcols(gr2) <- DataFrame(score=runif(length(gr2)))
grList <- GRangesList(gr1, gr2)
plotSig(ideo, grList, mcolName="score", layout=list("chr1"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.