plotSingles: plot indivividual time series in cluster context

Description Usage Arguments

View source: R/clusterTools.R

Description

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.

Usage

1
2
plotSingles(x, cls, goi, grep = FALSE, each = TRUE, plot.legend = each,
  lwd = 2, leg.xy = "topleft", y.intersp = 1, ...)

Arguments

x

either a simple data matrix with time points (x-axis) in columns, or a processed time-series as provided by processTimeseries

cls

"clustering" object from function clusterTimeseries or flowclusterTimeseries

goi

list of feature ids (rownames in cls$clusters !) to plot

grep

logical, if TRUE goi are searched by pattern match (as argument pattern in grep) instead of perfect matches

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 legend

y.intersp

legend line interspacing, see legend

...

arguments to plotClusters


raim/segmenTools documentation built on Nov. 9, 2018, 5:38 p.m.