Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

find_chebis

Find ChEBI IDs for name patterns


Description

A list of ChEBI IDs that contain a specific name pattern is returned.

Usage

find_chebis(chebi_data, pattern)

Arguments

chebi_data

A data frame that contains at least information on ChEBI IDs (id) and their names (name). This data frame can be obtained by calling fetch_chebi(). Ideally this should be subsetted to only contain molecules of a specific type e.g. metals. This can be achieved by calling find_all_subs with a general ID such as "25213" (Metal cation) and then subset the complete ChEBI database to only include the returned sub-IDs. Using a subsetted database ensures better search results. This is a helper function for other functions.

pattern

A character vector that contains names or name patterns of molecules. Name patterns can be for example obtained with the split_metal_name function.

Value

A list of character vectors containing ChEBI IDs that have a name matching the supplied pattern.


protti

Bottom-Up Proteomics and LiP-MS Quality Control and Data Analysis Tools

v0.1.1
MIT + file LICENSE
Authors
Jan-Philipp Quast [aut, cre], Dina Schuster [aut], ETH Zurich [cph, fnd]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.