contabs.prelim(network, reference, known = NULL)
network
. Each row corresponds
to a known regulator-gene pair (edge in the network), and the columns give
the corresponding regulator and target gene names, respectively.
These known regulatory relationships should all be included in
network
(this is checked), and they may also have regulator-gene
pairs in common with reference
.
network
with edges from the known regulatory relationships
and edges outside of the domain defined by the output version of
reference
removed.
reference
, reduced by
any known regulatory relationships.
contabs.newtBMA
to produce the appropriate input to
contabs
to produce contingency tables.
networkBMA,contabs.netwBMA,contabs
## Not run:
# data(vignette)
#
# dim(timeSeries)
# colnames(timeSeries)
# table(timeSeries$replicate)
# table(timeSeries$time)
#
# dim(reg.known)
# colnames(reg.known)
#
# dim(reg.prob)
#
# edges <- networkBMA(data = timeSeries[,-(1:2)],
# nTimePoints = length(unique(timeSeries$time)),
# prior.prob = reg.prob, known = reg.known)
#
# prelim <- contabs.prelim( network = edges, reference = referenceNetwork,
# known = reg.known)
# contabs( network = prelim$network, reference = prelim$reference,
# size = prelim$size, thresholds = prelim$thresholds)
#
# contabs.netwBMA( network = edges, reference = referenceNetwork,
# known = reg.known)
# ## End(Not run)
Run the code above in your browser using DataLab