plot_time_series_df: Plots all the time series stored in a data frame object

Description Usage Arguments Value Author(s) References Examples

View source: R/external_TMixClust.R

Description

plot_time_series_df allows the user to visualise the time series from a given data set.

Usage

1
2
3
plot_time_series_df(ts_df, time_points = seq_len(ncol(ts_df)),
  data_color = "#fd8d3c", x_label = "time", y_label = "value",
  plot_title = "Time series plot")

Arguments

ts_df

data frame containing on each row a time-series

time_points

vector containing the values of the time points. Default: seq_len(ncol(time_series_df)).

data_color

color of the time series to be used for the plot. Default is orange.

x_label

label of the x axis of the plot. Default is "time"

y_label

label of the y axis of the plot. Default is "value"

plot_title

title of the plot. Default is "Time series plot".

Value

Plots a figure with all the the time series in the data set

Author(s)

Monica Golumbeanu, monica.golumbeanu@bsse.ethz.ch

References

Golumbeanu M, Desfarges S, Hernandez C, Quadroni M, Rato S, Mohammadi P, Telenti A, Beerenwinkel N, Ciuffi A. (2017) Dynamics of Proteo-Transcriptomic Response to HIV-1 Infection.

Examples

1
2
3
4
5
# Load the toy time series data provided with the TMixClust package
data(toy_data_df)

# Plot the time series
plot_time_series_df(toy_data_df)

cbg-ethz/TMixClust documentation built on May 30, 2019, 8:28 a.m.