View source: R/PATHWAY_ANALYSIS.R
| get_paths_with_cpds_org | R Documentation |
Get only the paths of the organism that contain given compounds:
get_paths_with_cpds_org(organism_code, compounds, full.result = TRUE)
organism_code |
TODO. |
compounds |
TODO. |
full.result |
TODO. |
A data.frame with the pathways containing the input compounds.
Each row represents one matched pathway. When full.result = TRUE, the
returned data frame includes the columns pathways, ratio,
compounds, and compounds_names; otherwise it contains only
pathways and ratio. Row names correspond to pathway names.
## Not run:
cpds <- c(glucose = "cpd:C00031", pyruvate = "cpd:C00022")
head(get_paths_with_cpds_org("hsa", cpds, full.result = FALSE))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.