Description Usage Arguments Value Author(s) Examples
Generation of a list that contain all the global network information extracted from a sif file. When a subnetwork file is present, the information from the subnetwork is added to the list.
1 | networkFromSif(netFileName, subNetFileName = NULL)
|
netFileName |
a |
subNetFileName |
a |
a list
containing the following components:
netAll
a hash
containing all
the information from the global network.
nodesAll
a vector of string representing
all the nodes present in the global network.
nodesSubNet
a vector of string representing
all the nodes present in the subnetwork to be tested or
NULL
when information not known.
Pascal Belleau, Astrid Deschenes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Access SIF file for global network stored in subnetsim package
networkFile <- system.file("extdata", "demo_network.sif",
package="subnetsim")
## Create a network without the subnetwork information
demo_network <- subnetsim:::networkFromSif(netFileName = networkFile)
## Access SIF file for subnetwork stored in subnetsim package
subnetworkFile <- system.file("extdata", "demo_subnetwork.sif",
package="subnetsim")
## Create a network with the subnetwork information
demo_network_with_sub <- subnetsim:::networkFromSif(netFileName = networkFile,
subNetFileName = subnetworkFile)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.