assign_hierarchy {omu}R Documentation

Assign hierarchy metadata

Description

Assigns hierarchy metadata to a metabolomics count matrix using identifier values. It can assign KEGG compound hierarchy, orthology hierarchy, or organism hierarchy data.

Usage

assign_hierarchy(count_data, keep_unknowns, identifier)

Arguments

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

Examples

assign_hierarchy(count_data = c57_nos2KO_mouse_countDF, keep_unknowns = TRUE, identifier = "KEGG")

[Package omu version 1.1.2 Index]