fdbkFunc {ebdbNet} | R Documentation |
Helper function for ebdbn
when feedback is included in a network.
fdbkFunc(y)
y |
A list of R (PxT) matrices of observed time course profiles |
This function puts the observed variables (e.g., genes) in the correct format to be
incorporated as feedback in ebdbn
. Loosely speaking, if the matrices in the list of observed data
are of the form y(1), ..., y(T), the function returns a list
of matrices equal of the form 0, y(1), ..., y(T-1) which
are then used as inputs in the state space model.
A list of R (PxT) matrices of feedback profiles for the observed data.
Andrea Rau
library(ebdbNet) tmp <- runif(1) ## Initialize random number generator set.seed(125214) ## Save seed ## Simulate autoregressive data ## 5 replicates, 10 time points, 10 genes y <- simFunc(R = 5, T = 10, P = 10, v = rep(10,10), perc = 0.15)$y ## Create feedback profiles u <- fdbkFunc(y)