Curated degradation pathways: ordered reaction steps from a polymer to its metabolites.
Usage
pathways_list(limit = Inf, client = plasticdb_client())
pathways_get(pathway_id, client = plasticdb_client())
pathways_for_plastic(plastic_id, client = plasticdb_client())
pathways_graph(plastic_id, pathway_id = NULL, client = plasticdb_client())Arguments
Details
pathways_list()lists every pathway;pathways_get()returns one with its steps;pathways_for_plastic()every pathway that degrades one plastic.pathways_graph()returns a plastic's pathways as a graph of compounds and reactions: a list ofnodesandedgestibbles (each element's attributes, flattened), ready forigraph::graph_from_data_frame(g$edges, vertices = g$nodes).
Examples
g <- pathways_graph(16)
g$edges[, c("source", "target", "label")]
# \donttest{
pathways_list()
# }