Description Usage Arguments Value Methods (by class) See Also Examples
Generic plot function for SeqPlots package calsses
1 2 3 4 5 6 7 8 9 10 |
x |
This argument should be one of SeqPlots classes:
|
y |
For plotting SeqPlots classes this argument is ignored, used for
default functionality of |
... |
Other parameters controlong the plot, see
|
what |
This argument takes a character determining if avareange
plot ( |
Returns NULL
for avareange plot and cluster report data.frame
for hetamap - see plotHeatmap
for details.
x = PlotSetPair,y = ANY
: Method plot for signature 'PlotSetPair'
x = PlotSetList,y = ANY
: Method plot for signature 'PlotSetList'
x = PlotSetArray,y = ANY
: Method plot for signature 'PlotSetPair'
Other plotting.functions: getPlotSetArray
;
plotAverage
,
plotAverage,PlotSetArray-method
,
plotAverage,PlotSetList-method
,
plotAverage,PlotSetPair-method
,
plotAverage,list-method
;
plotHeatmap
,
plotHeatmap,PlotSetArray-method
,
plotHeatmap,PlotSetList-method
,
plotHeatmap,PlotSetPair-method
,
plotHeatmap,list-method
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #load precalculated PlotSetArrays "plotset1" and "plotset2", usually these
#objects are the output of getPlotSetArray function
load(system.file("extdata", "precalc_plotset.Rdata", package="seqplots"))
#plot with default values
plot(plotset2) #Average plot
plot(plotset2[1,], what='h') #Heatmap
#setting plot options
plot(plotset2, main='Title', xlab='Relative position [bp]', ylab='Signal',
colvec=rainbow(6, 0.7, 0.5), labels=LETTERS, legend_ext=TRUE,
legend_ext_pos='topright', legend_pos='topleft', ln.h=9)
plot(plotset2[2,], what='h', main="The heatmap", labels=LETTERS,
ord = c(3,1,2), sortrows = TRUE, clusters = 2, clstmethod = "hclust",
cex.main = 20, cex.lab = 12, cex.legend = 12, xlab = "Rel. pos. [bp]",
ylab = "Signal", autoscale = FALSE, zmin = 0, zmax = 20,
clspace = rev(rainbow(4, 0.7, 0.5)) )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.