domonster | R Documentation |
This function is a wrapper to simplify usage of the monster
function in
the case where the pair of regulatory networks to be contrasted have already
been estimated, either as panda
objects, or represented as an
adjacency matrix with regulators in rows and genes in columns.
domonster(exp_graph, control_graph, nullPerms = 1000, numMaxCores = 3, ...)
exp_graph |
matrix or PANDA object (generated by |
control_graph |
matrix or PANDA object (generated by |
nullPerms |
numeric; defaults to 1000. Number of null permutations to perform. See |
numMaxCores |
numeric; defaults to 3. Maximum number of cores to use; will be the minimum of this number and the actual available cores. See |
... |
other arguments for |
monster
object
# Generating PANDA networks for demonstration:
# For the purposes of this example, first partition the pandaToyData samples, then perform panda:
pandaResult_exp <- panda(pandaToyData$motif, pandaToyData$expression[,1:25], pandaToyData$ppi)
pandaResult_control <- panda(pandaToyData$motif, pandaToyData$expression[,26:50], pandaToyData$ppi)
# function takes both panda objects and matrices, or a mixture
monster_res1 <- domonster(pandaResult_exp, pandaResult_control, numMaxCores = 1)
monster_res2 <- domonster(pandaResult_exp@regNet, pandaResult_control@regNet, numMaxCores = 1)
monster_res3 <- domonster(pandaResult_exp@regNet, pandaResult_control, numMaxCores = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.