Easy pathway network access
get_pathways(
query_species = "hsapiens",
database_list = NULL,
remove_empty_pathways = TRUE,
pathway_list = NULL
)
For which species
Which databases to query. Query all if `NULL`.
Discard pathways without nodes
List mapping database name to vector of pathway names to download
list of pathways
pathways <- get_pathways(
pathway_list = list(kegg = c(
"Protein processing in endoplasmic reticulum"
))
)
#> 'select()' returned 1:1 mapping between keys and columns
#> 'select()' returned 1:1 mapping between keys and columns
plot_network(as(pathways[[1]]$graph, "matrix"))