Skip to contents

convert_alias_to_symbols Convert aliases to offcial gene symbols

Usage

convert_alias_to_symbols(aliases, organism, verbose = TRUE)

Arguments

aliases

A character vector of symbols/aliases

organism

"mouse" or "human"

verbose

TRUE or FALSE

Value

A character vector of official gene symbols.

Examples

library(dplyr)
#> 
#> Attaching package: 'dplyr'
#> The following objects are masked from 'package:stats':
#> 
#>     filter, lag
#> The following objects are masked from 'package:base':
#> 
#>     intersect, setdiff, setequal, union
human_symbols <- c("TNF", "IFNG", "IL-15")
aliases <- human_symbols %>% convert_alias_to_symbols(organism = "human")
#> [1] "following are the official gene symbols of input aliases: "
#>   symbol alias
#> 1   IL15 IL-15