Description Usage Arguments Value Author(s) References See Also Examples
View source: R/pruneMotifStats.r
Limit a list of network motifs as returned by the motifStatsVAR1
-function to those involving a particular node.
1 | pruneMotifStats(motifList, id)
|
motifList |
A |
id |
A |
An object of class list
with slots:
selfregulators |
A |
feedbackpairs |
A |
feedforwardloops |
A |
feedbackloops |
A |
bifans |
A |
diamonds |
A |
Future versions of this function may include additional slots reporting more motif types.
Wessel N. van Wieringen <w.vanwieringen@vumc.nl>.
Alon, U. (2007), “Network motifs: theory and experimental approaches”, Nature Reviews Genetics, 8, 450-461.
1 2 3 4 5 6 7 8 9 | # specify lag one autoregression model
sparseA <- matrix(runif(2500), ncol=50)
sparseA[sparseA < 0.9] <- 0
# find motifs
motifList <- motifStatsVAR1(sparseA)
# prune motif list
pruneMotifStats(motifList, 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.