plot_contrib_net: Use ggnetwork to make a network visualization of metabolite...

View source: R/postProcessing.R

plot_contrib_netR Documentation

Use ggnetwork to make a network visualization of metabolite outcomes and primary gene/reaction contributors

Description

Use ggnetwork to make a network visualization of metabolite outcomes and primary gene/reaction contributors

Usage

plot_contrib_net(
  net_obj,
  col_attr,
  node_size_attr,
  edge_size_attr,
  node_lab,
  edge_lab
)

Arguments

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

Value

network object

Examples

plot_contrib_net(gene_contribs_all, node_data, c("Dataset", "Correlation", "Metabolite", "PredictionType2", "SuperPath"), c("KO", "Cor", "Dataset", "stoichReac", "stoichProd"))

borenstein-lab/mimosa2 documentation built on Dec. 19, 2024, 12:44 a.m.