plotTimeSeries: Plot selected time series.

Description Usage Arguments Value Examples

View source: R/plots.R

Description

Plotting expression over time for selected genes curve and colors correspond to distinct groups.

Usage

1
2
plotTimeSeries(object, features = rownames(object), trans = FALSE,
  smooth = TRUE, ncol = 5, scales = "free")

Arguments

object

A TimeSeriesExperiment object.

features

A vector of names of selected features to plot.

trans

A boolean indicating whether (TRUE) transformed, variance stabilized, assay values should be printed or (FALSE) just normalized by sample depth.

smooth

If TRUE a smoothed line is plotted for each gene and each group, else a piecewise linear average (over replicates) curve is plotted.

ncol

An integer indicating the number of columns for facetting. Default is 5.

scales

character scalar indecating facet scales, by default "free".

Value

list of ggplot objects

Examples

1
2
3
data("endoderm_small")
feat_to_plot <- rownames(endoderm_small)[1:10]
plotTimeSeries(endoderm_small, features = feat_to_plot, smooth = FALSE)

TimeSeriesExperiment documentation built on Nov. 8, 2020, 11:09 p.m.