networkBMA(data, nTimePoints, prior.prob = NULL, known = NULL,
ordering = "bic1+prior", nvar = NULL, self = TRUE,
maxreg = NULL,
control = ScanBMAcontrol(),
diff0 = TRUE, diff100 = TRUE,
verbose = FALSE)
prob
and known
as appropriate.data
should be a multiple of
nTimePoints
, which could be greater than 1 if there are replicates.NULL
, which implies
that no prior information will be used in modeling the network.varord
. The default is option "bic1+prior"
for
varord
.
If a prior is provided, genes with prob=1
are always included
first in modeling regardless of the specified ordering, while genes with
prior = 0
are excluded.ordering
) genes to be considered in
the modeling.
The default is determined by the length of ordering
if it
is greater than 1, otherwise it is min(nrow(data),ncol(data)-1)
.
The maximum number of genes for which measurements are available is
nrow(data)
.ScanBMAcontrol
for optimize="ScanBMA"
and iBMAcontrolLM
for optimize="iBMA"
are provided to
faciltate this setting, and the default is
ScanBMAcontrol()
.nvar
is less than the total number of
possible regulators. If known
is not NULL, then diff0
must be FALSE.known
is not
NULL, then diff100
must be FALSE.FALSE
.summary
function gives the number of inferred edges at
posterior probabilities 0, .5, .75, .90, .95 and 1.0K. Y. Yeung, K. M. Dombek, K. Lo, J. E. Mittler, J. Zhu, E. E. Schadt, R. E. Bumgarner and A. E. Raftery (2011), Construction of regulatory networks using expression time-series data of a genotyped population, Proceedings of the National Academy of Sciences, 108(48):19436-41.
K. Y. Yeung, A. E. Raftery and C. Fraley (2012),
Uncovering regulatory relationships in yeast using networkBMA
,
networkBMA
Bioconductor package vignette.
networkBMA
is intended for time-series data in which there are
more variables (gene expression values) than observations (experiments).
For each gene, a linear model is fit to the expression data for all genes
at a particular time point to predict the expression of a particular gene
at the next time point. BMA is used to fit the linear model to identify
the candidate regulators (variables) in the model. The inferred network
consists of candidate regulators and their corresponding posterior
probabilities for each gene.
It is assumed that data is available for all replicates at the same set
of time points.summary.networkBMA
,
varord
,
ScanBMAcontrol
,
iBMAcontrolLM
,
contabs
data(dream4)
# there are a total of 5 datasets (networks) in the dream4ts10 data
network <- 1
nTimePoints <- length(unique(dream4ts10[[network]]$time))
edges1ts10 <- networkBMA( data = dream4ts10[[network]][,-(1:2)],
nTimePoints = nTimePoints, prior.prob = 0.01)
summary(edges1ts10)
Run the code above in your browser using DataLab