Search
Question: Gviz: AnnotationTrack - text (feature id) annotation overlay
0
gravatar for gaospecial
2.5 years ago by
gaospecial0
China
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 6 months ago by Greg G.0 • written 2.5 years ago by gaospecial0
0
gravatar for Greg G.
6 months ago by
Greg G.0
USA/Seattle
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(fontsize.group = 15)

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

Good luck!

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

Help
Access

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