coverage no longer works on GPos objects?
0
0
Entering edit mode
maltethodberg ▴ 180
@maltethodberg-9690
Last seen 23 days ago
Denmark

After the recent update, it seems coverage no longer works on GPos objects? 

library(GenomicRanges)

## Example 2:
pos_runs <- GRanges("chrI", IRanges(c(1, 6, 12, 17), c(5, 10, 16, 20)),
                                        strand=c("+", "-", "-", "+"))
gpos2 <- GPos(pos_runs)

coverage(as(gpos2, "GRanges")) # works
coverage(gpos2) # error

Or is this no longer the proper way of calling coverage?

 

genomicranges gpos • 926 views
ADD COMMENT

Login before adding your answer.

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