Learn R Programming

grex (version 1.9)

cleanid: Remove Version Numbers in Raw GTEx (GENCODE) Gene IDs

Description

Remove the `.version` part in raw GTEx (GENCODE) gene IDs to produce Ensembl IDs.

Usage

cleanid(gtex_id)

Arguments

gtex_id

Character vector of GTEx (GENCODE) gene IDs

Value

Character vector of Ensembl IDs

Examples

Run this code
# NOT RUN {
gtex_id <- c("ENSG00000227232.4", "ENSG00000223972.4", "ENSG00000268020.2")
cleanid(gtex_id)
# }

Run the code above in your browser using DataLab