View source: R/assign_hierarchy.R
assign_hierarchy | R Documentation |
Assigns hierarchy metadata to a metabolomics count matrix using identifier values. It can assign KEGG compound hierarchy, orthology hierarchy, or organism hierarchy data.
assign_hierarchy(count_data, keep_unknowns, identifier)
count_data |
a metabolomics count data frame with either a KEGG compound, orthology, or a gene identifier column |
keep_unknowns |
a boolean of either TRUE or FALSE. TRUE keeps unannotated compounds, FALSE removes them |
identifier |
a string that is either "KEGG" for metabolite, "KO" for orthology, "Prokaryote" for organism, or "Eukaryote" for organism |
assign_hierarchy(count_data = c57_nos2KO_mouse_countDF, keep_unknowns = TRUE, identifier = "KEGG")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.