mapIDType: Helper function to map only a subset of metabolite IDs

View source: R/feature_processing.R

mapIDTypeR Documentation

Helper function to map only a subset of metabolite IDs

Description

This helper function becomes necessary since there are sometimes multiple ID formats used in a single pathway definition.

Usage

mapIDType(features, keytype = "CHEBI", maptype = "ChEBI", returntype = "HMDB")

Arguments

features

List of metabolite feature IDs of the pathway.

keytype

String specifying the ID format in pathway definition.

maptype

String specifying the corresponding ID format in multiGSEA.

returntype

String identifying the ID type that should be mapped.

Value

List of mapped metabolite IDs.


yigbt/multiGSEA documentation built on Oct. 31, 2024, 2:22 p.m.