Description Usage Arguments Details Value Examples
'query_hgnc()' finds matches for the supplied query vector in the specified columns of the database and returns a tibble of all the matches.
1 | query_hgnc(query, match_cols, return_all = FALSE)
|
query |
A character vector. |
match_cols |
A character vector. The columns in the data to look for matches with the query. In order of preference, if matches to a column are found, matches to subsequent columns are not reported by default, unless return_all is 'TRUE'. |
return_all |
A logical indicating whether matches to subsequent columns, after a match has already been found, should also be returned. |
Find which columns are available by checking 'help(hgnc)'.
A tibble containing all rows of the dataframe that matched a query. The new column 'match__' contains the name of the column that matched the query for this row.
1 2 | query_hgnc(c("FLG", "SGK2"),
c("symbol", "alias_symbol", "prev_symbol"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.