todisp2 {convertid} | R Documentation |
Convenience Function to Convert Ensembl Gene IDs to Gene Symbols
Description
todisp2()
uses Biomart by employing get.bm()
to retrieve Gene Symbols for a set of Ensembl
Gene IDs. It is mainly meant as a fast way to convert IDs in standard gene expression analysis output to Symbols,
e.g., for visualisation, which is why the input ID type is hard coded to ENSG IDs. If Biomart is not available
the function can fall back to use convertId2()
or a user-provided data frame with corresponding ENSG IDs and
Symbols.
Usage
todisp2(ensg, lab = NULL, biomart = TRUE, verbose = FALSE)
Arguments
ensg |
( |
lab |
( |
biomart |
( |
verbose |
( |
Value
A character vector of Gene Symbols.
See Also
Examples
## Not run:
val <- c("ENSG00000111199", "ENSG00000134121", "ENSG00000176102", "ENSG00000171611")
sym <- todisp2(val)
sym
## End(Not run)