as.omics_array: Coerce a matrix into a omics_array object.
Description
Coerce a matrix into a omics_array object.
Usage
as.omics_array(
M,
time,
subject,
name_probe = NULL,
gene_ID = NULL,
group = 0,
start_time = 0
)
Value
A omics_array object.
Arguments
M
A matrix. Contains the omicsarray measurements. Should be of size N
* K, with N the number of genes and K=T*P with T the number of time points,
and P the number of subjects. This matrix should be created using
cbind(M1,M2,...) with M1 a N*T matrix with the measurements for patient 1,
M2 a N*T matrix with the measurements for patient 2.
time
A vector. The time points measurements
subject
The number of subjects.
name_probe
Vector with the row names of the omics array.
gene_ID
Vector with the actors' IDs of the row names of the omics
array.
group
Vector with the actors' groups of the row names of the omics
array.
start_time
Vector with the actors' starting time (i.e. the time it is
thought to begin to have an effect on another actor in the network).