[R] How to access values in s4 method

2010-10-21 Thread Fahim Md
Hi How to access the values in the output that is an object of S4 type. I tried to access using subset ( [ ] ) but it is not allowed. Any clue?? Thanks -- Fahim #My code is as follows: require(IRanges); query - IRanges(c(1, 4, 9), c(5, 7, 10)) subject - IRanges(c(2, 2, 10), c(2, 3, 12))

Re: [R] How to access values in s4 method

2010-10-21 Thread David Winsemius
On Oct 21, 2010, at 8:05 PM, Fahim Md wrote: Hi How to access the values in the output that is an object of S4 type. I tried to access using subset ( [ ] ) but it is not allowed. Any clue?? Thanks -- Fahim #My code is as follows: require(IRanges); query - IRanges(c(1, 4, 9), c(5, 7,

Re: [R] How to access values in s4 method

2010-10-21 Thread Steve Lianoglou
Hi Fahim, On Thu, Oct 21, 2010 at 2:05 PM, Fahim Md fahim...@gmail.com wrote: Hi How to access the values in the output that is an object of S4 type. I tried to access using subset ( [ ] ) but it is not allowed. Any clue?? A few things: (1) You generally shouldn't cross post between two