rampFindSynonymFromSynonym: Find all synonym from a given metabolite's name This function...

Description Usage Arguments Value

View source: R/rampQueryHelper.R

Description

Find all synonym from a given metabolite's name This function is used to filter out some super common synonyms like glyceride Now, this function only format the user input, so the user vector, dataframe, and entire string separated by comma are working.

Usage

1
2
3
rampFindSynonymFromSynonym(synonym, full = FALSE, find_synonym = FALSE,
  conpass = NULL, dbname = "ramp", username = "root",
  host = "localhost")

Arguments

synonym

name to search for

full

bool if return whole data.frame

find_synonym

bool if find all synonyms or just return same synonym

conpass

password for database access (string)

dbname

name of the mysql database (default is "ramp")

username

username for database access (default is "root")

host

host name for database access (default is "localhost") as input (there are some common synonyms that will mess up whole searching)

Value

a data frame that contains synonym in the first column rampId in the second column


Mathelab/RaMP-DB documentation built on April 24, 2021, 3:11 p.m.