get_time_series_df: Extracts a time series data frame from a text file

Description Usage Arguments Value Author(s) References Examples

View source: R/external_TMixClust.R

Description

get_time_series_df creates a data frame containing time series data from a file.

Usage

1
get_time_series_df(data_file)

Arguments

data_file

path to a tab-delimited text file containing the time series data formatted such that each row contains a time-series represented by its name (e.g. gene name, protein name, etc.) and the values at each time point.

Value

A data frame containing the time series

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
6
7
# Load a simulated toy time-series data provided with the package
toy_data_file = system.file("extdata", "toy_time_series.txt",
package = "TMixClust")
toy_data= get_time_series_df(toy_data_file)

# Print the first lines of the resulting data frame
print(head(toy_data))

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