plotSingles | R Documentation |
plot indivividual time series (GOI: genes of interest) from
timeseries and clustering objects; a wrapper for plotClusters
,
allowing to only plot individual time series in their cluster context
(colors and individual panels for clusters) and using the same style and
providing all functionality from plotClusters
.
plotSingles(
x,
cls,
goi,
grep = FALSE,
each = TRUE,
plot.legend = each,
lwd = 2,
leg.xy = "topleft",
y.intersp = 1,
...
)
x |
either a simple data matrix with time points (x-axis) in columns,
or a processed time-series as provided by
|
cls |
"clustering" object from function
|
goi |
list of feature ids (rownames in cls$clusters !) to plot |
grep |
logical, if TRUE |
each |
plot separate panels for each cluster |
plot.legend |
logical indicating whether to plot feature names in a legend |
lwd |
line width of single time-series |
leg.xy |
position of the legend, see
|
y.intersp |
legend line interspacing, see
|
... |
arguments to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.