plotAlongChrom function from the package
tilingArray, but provides a different visualization.
chipAlongChrom1(eSet, chrom, probeAnno, xlim, ylim = NULL, samples = NULL, paletteName = "Dark2", colPal = NULL, byStrand = FALSE, ylabel = "fold change [log]", rugCol = "#000010", itype = "r", ipch = 20, icex = 1, ilwd = 3, ilty = 1, useGFF = TRUE, gff = NULL, featCol = "darkblue", zero.line = TRUE, putLegend = TRUE, add = FALSE, maxInterDistance = 200, coord=NULL, verbose = TRUE, ...)asExprSet.scripts/makeProbeAnno.R
for how to generate such an environment.NULL(default) set as range(exprs(eSet))eSet are to be
shown. Default is to show all samples in the eSet,paletteName
for specifying which colors to use.ylabtype
specifications used in plot.default.
Defaults to "r". Please refer to the details section below.itype="p"itype="l"itype="l"; passed on
to par(lty).itype is either
"r" or "u"; specifies the maximal distance up to which
adjacent probe positions should be connected by a line.xlim to specify the start and end coordinates of the genomic
region to plotplot.default, see
detailsinvisible matrix of probe intensities in the selected
genomic regions
plot.default arguments are already defined by
arguments of this function and thus may not be included in ...:
xlim, ylim, col, pch, cex, lwd, lty, frame.plot The itype argument specifies the desired type of plot. It can
be any valid specification of the type argument in
plot.default or one of two special types:
maxInterDistance apart
from each other; each probe position will be marked by an
individual point anyway (whose shape is determined by the argument
ipch).
plot.default's
type "b".
plot.default;
plotAlongChrom in package tilingArray # load data
ringoExampleDir <- system.file("exData",package="Ringo")
load(file.path(ringoExampleDir,"exampleProbeAnno.rda"))
load(file.path(ringoExampleDir,"exampleX.rda"))
# show a gene that is well represented on this microarray
chipAlongChrom1(exampleX, chrom="9", xlim=c(34318000,34321000),
ylim=c(-2,4), probeAnno=exProbeAnno, gff=exGFF)
Run the code above in your browser using DataLab