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

Description Usage Arguments Value Examples

View source: R/grex.R

Description

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

Usage

1
cleanid(gtex_id)

Arguments

gtex_id

Character vector of GTEx (GENCODE) gene IDs

Value

Character vector of Ensembl IDs

Examples

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

Example output

[1] "ENSG00000227232" "ENSG00000223972" "ENSG00000268020"

grex documentation built on May 18, 2019, 1:03 a.m.