rtracklayer demo bug
2
0
Entering edit mode
@felixernst-13698
Last seen 4.2 years ago

Hello,

does anyone else have a problem using demo(targets) to have a look at the example in the rtracklayer package?

The error is given after chunk 6

> view <- browserView(session, range,
+                     hide = c("refGene", "mgcFullMrna", "intronEst"),
+                     dense = "knownGene", squish = "cons44way")
Error in normGenomeRange(range, object) :
  'range' should be a genome string, RangesList, GRanges or Seqinfo

range is an IRanges object an produced apparently by 

range <- ranges(targetTrack[top,]) * -10

The session is clean without any other packages loaded.

Thanks for any help and advice.

Felix

 

rtracklayer • 890 views
ADD COMMENT
1
Entering edit mode
@michael-lawrence-3846
Last seen 2.4 years ago
United States

I pushed a fix for this to the release and devel branches. It's an ancient demo, so it has code rotted a bit and has been broken like this for 2 years.

ADD COMMENT
0
Entering edit mode
@felixernst-13698
Last seen 4.2 years ago

Thanks a lot.

 

ADD COMMENT

Login before adding your answer.

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