decorateID: Create a chemical taxonomy table for annotated metabolic...

View source: R/decorateID.R

decorateIDR Documentation

Create a chemical taxonomy table for annotated metabolic features.

Description

Create a chemical taxonomy table for annotated metabolic features.

Usage

decorateID(input_annotations)

Arguments

input_annotations

a dataframe (features x annotations) containing the available feature annotations. ^^Column 1 must contain standard annotations such as HMDB ID or PubChem CID for the subset of identified/annotated metabolic features.

Value

tax_df input_taxonomy-dataframe containing ID (HMDB or PubChem), chemical sub class and chemical class of annotated metabolic features.

Examples

prism_annotations = system.file("extdata", "demo_annotations.csv", package="Macarron")
annotations_df = read.csv(file = prism_annotations, row.names = 1)
input_taxonomy <- decorateID(annotations_df)


biobakery/Macarron documentation built on June 29, 2024, 7:58 a.m.