Description Usage Arguments Value Examples
View source: R/lilikoi.MetaTOpathway.r
This function allows you to convert your metabolites id such as names, kegg ids, pubchem ids. into pathways. Metabolites which have not pathways will be excluded from any downstream analysis make sure that you have three database files which are used for exact and fuzzy matching: cmpd_db.rda, syn_nms_db.rda and Sijia_pathway.rda This function was modified version of the name.match function in the below link: https://github.com/cangfengzhe/Metabo/blob/master/MetaboAnalyst/website/name_match.R
1 2 3 4 5 6 7 8 |
q.type |
The type of the metabolites id such as 'name', 'kegg', 'hmdb','pubchem' |
hmdb |
if TRUE, match metabolites id to the HMDB database. |
pubchem |
if TRUE, match metabolites id to the PubChem database. |
chebi |
if TRUE, match metabolites id to the ChEBI database. |
kegg |
if TRUE, match metabolites id to the KEGG database. |
metlin |
if TRUE, match metabolites id to the METLIN database. |
A table showing the convertion results from metabolites ids to ids in different metabolomics databases and pathway ids and names.
1 2 3 4 5 | dt <- lilikoi.Loaddata(file=system.file("extdata",
"plasma_breast_cancer.csv", package = "lilikoi"))
Metadata <- dt$Metadata
dataSet <- dt$dataSet
Metabolite_pathway_table=lilikoi.MetaTOpathway('name')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.