Question: Gviz: AnnotationTrack - text (feature id) annotation overlay
gravatar for gaospecial
3.5 years ago by
gaospecial0 wrote:

I am using AnnotationTrack to display gene/ORF of a bacteria genome. To show gene names in track, id was assigned. Since some of the gene is very small and only has a very narrow place to display id, gene names overlapped one another and I could not seprated them. 

Is there a smart way to display gene names in this situation?

atrack <- AnnotationTrack(ORF,  name  =  "ORF", shape = "arrow",
                            id = ORF$gene,  featureAnnotation  =  "id",
                            showFeatureId = TRUE,
                            fontcolor.feature  =  "black")


Thank you in advance.

ADD COMMENTlink modified 18 months ago by Greg G.0 • written 3.5 years ago by gaospecial0
gravatar for Greg G.
18 months ago by
Greg G.0
Greg G.0 wrote:

I know two years since the question is asked, but in case somebody else has the same trouble:

Have you tried to decrease the font size? 

displayPars(atrack) <- list( = 15)

How about zooming in, in a shorter region and post processing it?

Good luck!

ADD COMMENTlink written 18 months ago by Greg G.0
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.2.0
Traffic: 132 users visited in the last hour