Remove the `.version` part in raw GTEx (GENCODE) gene IDs to produce Ensembl IDs.
Examples
gtex_id <- c("ENSG00000227232.4", "ENSG00000223972.4", "ENSG00000268020.2")
cleanid(gtex_id)
#> [1] "ENSG00000227232" "ENSG00000223972" "ENSG00000268020"
Remove the `.version` part in raw GTEx (GENCODE) gene IDs to produce Ensembl IDs.
gtex_id <- c("ENSG00000227232.4", "ENSG00000223972.4", "ENSG00000268020.2")
cleanid(gtex_id)
#> [1] "ENSG00000227232" "ENSG00000223972" "ENSG00000268020"