gviz UcscTrack label with HGNC gene symbol
Entering edit mode
dmb107 • 0
Last seen 4.9 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 • 648 views

Login before adding your answer.

Traffic: 211 users visited in the last hour
Help About
Access RSS

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

Powered by the version 2.3.6