This is an internal function used by dnapath
to conduct
the differential network analysis on a single pathway.
dna_pathway(
x,
pathway,
group_prob,
network_inference,
permutations,
lp = 2,
verbose = FALSE,
...
)
A list containing the results of the differential network analysis for a single pathway.
The gene expression data to be analyzed. Assumed to already be
processed by dnapath
A single vector containing gene names.
A matrix with number of rows equal to the
number of rows in x
and two columns, each containing the probability that
a given observation belongs to each group.
A function used to infer the pathway network.
A matrix containing the permutations to perform during
permutation testing. If NULL
, the permutation tests are not performed.
The lp value used to compute differential connectivity
scores. (Note: If a vector is provided, then the results are returned as
a list of dnapath_list
objects, one result for each value of lp
. This
option is available so that network inference methods only need to be run
once for each pathway when multple values of lp
are being considered. This
may be useful when conducting simulation studies).
Set to TRUE to turn on messages.
Additional arguments are passed into the network inference function.