gviz UcscTrack label with HGNC gene symbol
0
0
Entering edit mode
dmb107 • 0
@dmb107-11741
Last seen 8.1 years ago

I apologize if this is answered elsewhere, but I cannot find a concise solution. I feel like I am just missing a very obvious piece of information.

I am using gviz to plot a genomic region via the UcscTrack function:

knownGenes <- UcscTrack(genome = "hg19", chromosome = chr, track = "knownGene", from = from, 
                        to = to, trackType = "GeneRegionTrack", rstarts = "exonStarts", rends = "exonEnds", 
                        gene = "name", symbol = "name", transcript = "name", strand = "strand", fill = "#8282d2", 
                        name = "UCSC Genes")

This annotates transcripts with the ucsc gene name. How can I instead annotate with the gene symbol? It does not seem to be an option in the knownGene table schema. 

Also, if anyone could tell me how to change the font size of the track name (i.e. where it displays "UCSC Genes") I would greatly appreciate it. The fontsize parameter changes all font for the track.

Thank you!

gviz ucsctrack genesymbols • 1.2k views
ADD COMMENT

Login before adding your answer.

Traffic: 708 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6