Description Usage Arguments Details Value See Also Examples
Given a set of KOs of a sample with a specific state and the reference metabolic network, this function creates and returns sub-network with only the supplied nodes (KOs) and any edges between them.
1 | constructSSN(abundance)
|
abundance |
abundance of KOs of a given specific state, may a numeric vector which can be obtained with a given Biological Observation Matrix (BIOM) format, the ncol of BIOM file represents number of samples. The BIOM file format (canonically pronounced biome) is designed to be a general-use format for representing biological sample by observation contingency tables. More details on BIOM file can be found in http://biom-format.org/ R package biom. There is also a example BIOM file in directory "inst/extdata" of mmnet. It could be obtained with |
Reference metabolic network has been saved in the RefDbcache. There are varies sets of KOs and its abundance between metagenomic samples. With this function, users can create a specified sub-network of the reference network for each sample.
new graph object will be return, and the abundance is added as a vertex meta-attributes. The number of graph is equal to the samples.
1 2 3 4 5 6 | # load reference metabolic network
data(RefDbcache)
data(anno)
abund <- estimateAbundance(anno[[1]])
subnet <- constructSSN(abund)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.