Skip to contents

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

gtex_id <- c("ENSG00000227232.4", "ENSG00000223972.4", "ENSG00000268020.2")
cleanid(gtex_id)
#> [1] "ENSG00000227232" "ENSG00000223972" "ENSG00000268020"