Re: [Bioc-devel] strand<- method for 'GPos' doesn't work

2017-07-20 Thread Robert Castelo
hi Hervé, i had not imagine this could require so much code refactoring, so thanks a lot for the quick and extensive fix. i'll have a close look and let you know if i encounter any problem. thanks again!!! robert. On 07/20/2017 11:23 AM, Hervé Pagès wrote: Hi Robert, This should work in G

Re: [Bioc-devel] strand<- method for 'GPos' doesn't work

2017-07-20 Thread Hervé Pagès
Hi Robert, This should work in GenomicRanges 1.29.10. Note that working on this revealed some minor shortcomings of the GPos internal representation so I decided to change it. The new one relies on IPos, a new class in IRanges 2.11.10. IPos is analog to GPos but for "integer positions" instead o

Re: [Bioc-devel] strand<- method for 'GPos' doesn't work

2017-07-18 Thread Robert Castelo
great, thanks Hervé! robert. On 18/07/2017 20:57, Hervé Pagès wrote: Hi Robert, I'm working on this. Best, H. On 07/14/2017 02:31 AM, Robert Castelo wrote: hi, the strand replacement method for 'GPos' objects does not seem to work: library(GenomicRanges) example(GPos) strand(gpos1) <- "-"

Re: [Bioc-devel] strand<- method for 'GPos' doesn't work

2017-07-18 Thread Hervé Pagès
Hi Robert, I'm working on this. Best, H. On 07/14/2017 02:31 AM, Robert Castelo wrote: hi, the strand replacement method for 'GPos' objects does not seem to work: library(GenomicRanges) example(GPos) strand(gpos1) <- "-" Error in methods::slot(object, name) : no slot of name "call" for th

[Bioc-devel] strand<- method for 'GPos' doesn't work

2017-07-14 Thread Robert Castelo
hi, the strand replacement method for 'GPos' objects does not seem to work: library(GenomicRanges) example(GPos) strand(gpos1) <- "-" Error in methods::slot(object, name) : no slot of name "call" for this object of class "GPos" traceback() 10: methods::slot(object, name) 9: getElement(x, "call