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

Description Usage Arguments Value

View source: R/feature_processing.R

Description

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

Usage

1
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.


multiGSEA documentation built on Nov. 8, 2020, 8:15 p.m.