plotSig: Plot signals with ideograms

Description Usage Arguments Value Examples

View source: R/plotSig.R

Description

Plot signals with ideograms for GRangesList.

Usage

1
plotSig(ideo, grList, mcolName, ...)

Arguments

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

Value

Invisible argument list for ideogramPlot.

Examples

1
2
3
4
5
6
7
8
9
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"))

NADfinder documentation built on Nov. 8, 2020, 5:35 p.m.