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 March 31, 2024, 6:50 a.m.