plot_time_series_df {TMixClust} | R Documentation

## Plots all the time series stored in a data frame object

### Description

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

### Usage

    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

    # 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)

[Package TMixClust version 1.0.1 Index]