get_graph | R Documentation |
Get igraph object
get_graph( filter, neighbours = 0, max_neighbours = Inf, simple = F, omit_lipids = F, type = "Immune process by name", search_mode = "Interacts", verbose = T )
filter |
String containing the search term. |
neighbours |
Integer containing the number of neighbours to be found |
max_neighbours |
Integer representing the maximum number of edges for each neighbour |
simple |
Boolean value indicating to return a barebone graph or including metadata. |
omit_lipids |
Boolean value if lipids should be omitted |
type |
String containing the type of search. |
search_mode |
String of either 'Interacts' or 'Between'. Interacts finds the first neighbour of the given search, while Between only returns interactions between the proteins / metabolites given. |
verbose |
Boolean value, should info be printed? |
# Construct a GO graph ## Not run: g <- get_graph("microglial cell activation") g <- get_graph("microglial cell activation", 0, "Gene Ontology") # Construct a graph using Metabolites and/or Proteins g <- get_graph("L-Asparagine", type = "Metabolites/Proteins") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.