View source: R/postProcessing.R
plot_contrib_net | R Documentation |
Use ggnetwork to make a network visualization of metabolite outcomes and primary gene/reaction contributors
plot_contrib_net(
net_obj,
col_attr,
node_size_attr,
edge_size_attr,
node_lab,
edge_lab
)
gene_contribs |
output of gene_contributions |
node_data |
output of run_all_metabolites |
node_attrs |
vector of node attributes to include in network |
edge_attrs |
vector of edge attributes to include in network |
network object
plot_contrib_net(gene_contribs_all, node_data, c("Dataset", "Correlation", "Metabolite", "PredictionType2", "SuperPath"), c("KO", "Cor", "Dataset", "stoichReac", "stoichProd"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.