get_time_series_df {TMixClust} | R Documentation

## Extracts a time series data frame from a text file

### Description

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

### Usage

    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

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

[Package TMixClust version 1.0.1 Index]