Gviz: AnnotationTrack - text (feature id) annotation overlay
1
0
Entering edit mode
gaospecial • 0
@gaospecial-8037
Last seen 8.9 years ago
China

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.

gviz • 2.0k views
ADD COMMENT
0
Entering edit mode
Greg G. • 0
@greg-g-12314
Last seen 6.7 years ago
USA/Seattle

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 COMMENT

Login before adding your answer.

Traffic: 843 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