This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Gviz: How I can add or retrive gene symbol from TxDb.Hsapiens.UCSC.hg38.knownGene

Hello

I want to create a table like "data(geneModels)" in Gviz.

I downloaded TxDb.Hsapiens.UCSC.hg38.knownGene, but in the column, there is no gene symbol.

columns(txdb1) [1] "CDSCHROM" "CDSEND" "CDSID" "CDSNAME" "CDSPHASE" "CDSSTART" "CDSSTRAND" [8] "EXONCHROM" "EXONEND" "EXONID" "EXONNAME" "EXONRANK" "EXONSTART" "EXONSTRAND" [15] "GENEID" "TXCHROM" "TXEND" "TXID" "TXNAME" "TXSTART" "TXSTRAND"
[22] "TXTYPE"

How can I add genes symbol to the table?

Thanks

genome

1 answer

The gene id is the entrez gene id. so you can use another annotation file to get the gene symbol.

Log in to answer this question.