Gviz - ReverseStrand incompatible with just.group="above"
1
0
Entering edit mode
@romainfenouil-9584
Last seen 8.3 years ago

Hello there, sorry for spamming the forum about Gviz but it's a great library and I really want to use it.

I think there is a small bug when trying to plot an annotation track with reversed strand and ID names on top of annotations.

> annoTrack <- BiomartGeneRegionTrack(genome="HG19", name="ENSEMBL", symbol="PPM1F")
> plotTracks(annoTrack, showId=TRUE, reverseStrand=FALSE, just.group="above") # works fine
> plotTracks(annoTrack, showId=TRUE, reverseStrand=TRUE) # works fine
> plotTracks(annoTrack, showId=TRUE, reverseStrand=TRUE, just.group="above")
Error in validObject(x) : 
  invalid class “IRanges” object: 'width(x)' cannot contain negative integers

Is this behaviour reproducible ?

Thank you for your help.

Romain.

gviz • 1.1k views
ADD COMMENT
0
Entering edit mode

It is actually also the case for just.group="below". Other values "left" and "right" work fine.

ADD REPLY
0
Entering edit mode
Robert Ivanek ▴ 730
@robert-ivanek-5892
Last seen 6 months ago
Switzerland

Thanks for the reporting this bug. I fixed it in the release 1.14.3 and devel version 1.15.3.

Best

Robert

ADD COMMENT

Login before adding your answer.

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