fdbkFunc {ebdbNet}R Documentation

Feedback Function

Description

Helper function for ebdbn when feedback is included in a network.

Usage

fdbkFunc(y)

Arguments

y A list of R (PxT) matrices of observed time course profiles

Details

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.

Value

A list of R (PxT) matrices of feedback profiles for the observed data.

Author(s)

Andrea Rau

See Also

ebdbn

Examples

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)

[Package ebdbNet version 1.1 Index]