Title Query and plot the sub-graph
visNet(
ig,
metabolite_query = NULL,
gene_query = NULL,
metabolite_by = c("symbol", "refmet_name", "HMDB_ID", "name"),
gene_by = c("symbol", "ensemble_ID", "name"),
focus = c("all", "metabolite", "pathway"),
edge_label = NULL,
main = "A simple reaction-based network",
metabolite_query_color = "#FF9999",
gene_query_color = "#56B4E9",
associated_metabolite_color = "#808080",
associated_gene_color = "#808080",
metabolite_shape = "dot",
gene_shape = "diamond",
hover = TRUE,
stabilization = FALSE,
igraph_layout = "layout_with_fr",
layout_seed = 42
)the igraph object derived from a given GEM
a character vector contains metabolites which are consistent with V(ig)$symbol or V(ig)$name, for metabolite, the "symbol" should be consistent with "fullname" column in hypeR_GEM_obj$mapped_metabolite_signatures
a character vector contains enzyme-coding genes which are consistent with V(ig)$symbol or V(ig)$name
type of symbols used by metabolite_query
type of symbols used by gene_query
focus of the subgraph query
An edge attribute in E(ig) that can be used to represent edge labels
the title of the network
the node color of "metabolite_query"
the node color of "gene_query"
the node color of metabolites other than "metabolite_query"
the node color of genes other than "gene_query"
the node shape of metabolites
the node shape of genes
logical variable
logical variable
the layout algorithm available in "igraph", see https://igraph.org/r/html/1.3.0/layout_.html
random seed of the network layout
a list of: ig = node-induced sub-graph, p = a visNetwork object