Learn R Programming

ebdbNet (version 1.2.8)

dataFormat: Change the Format of Longitudinal Data to be Compatible with EBDBN

Description

This function changes the format of longitudinal data to be compatible with the format required by the EBDBN, namely a list (of length R) of PxT matrices, where R, P, and T are the number of replicates, genes, and time points, respectively.

Usage

dataFormat(longitudinal.data)

Value

List of length R of PxT matrices, suitable to be used in the EBDBN algorithm.

Arguments

longitudinal.data

Data in the longitudinal format

Author

Andrea Rau

Details

The argument refers to the general data structure of the 'longitudinal' package.

Examples

Run this code
library(ebdbNet)
library(GeneNet) ## Load GeneNet package to use T-cell activation data

data(tcell)  ## Load T-cell activation data
tc44 <- combine.longitudinal(tcell.10, tcell.34)

## Put data into correct format for algorithm
tcell.dat <- dataFormat(tc44)

Run the code above in your browser using DataLab