powered by
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)
a metabolomics count data frame with either a KEGG compound, orthology, or a gene identifier column
a boolean of either TRUE or FALSE. TRUE keeps unannotated compounds, FALSE removes them
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")
Run the code above in your browser using DataLab