Re: [Bioc-devel] feature request: pmax for columns of DataFrame objects

2013-12-02 Thread Michael Lawrence
Thanks, I've exported it now from BiocGenerics. It shouldn't cause a duplication. Michael On Mon, Dec 2, 2013 at 12:12 PM, Robert Castelo wrote: > hi Michael, thanks for your quick response, comments below.. > > > On 12/2/13 6:29 PM, Michael Lawrence wrote: > > A DataFrame being a SimpleList,

Re: [Bioc-devel] feature request: pmax for columns of DataFrame objects

2013-12-02 Thread Robert Castelo
hi Michael, thanks for your quick response, comments below.. On 12/2/13 6:29 PM, Michael Lawrence wrote: > A DataFrame being a SimpleList, coercion to list is immediate, so just > coerce to a list instead of a data.frame. > > do.call(pmax, as.list(DataFrame(x=1:10,y=2:11))) > thanks for tip, so i

Re: [Bioc-devel] feature request: pmax for columns of DataFrame objects

2013-12-02 Thread Michael Lawrence
A DataFrame being a SimpleList, coercion to list is immediate, so just coerce to a list instead of a data.frame. do.call(pmax, as.list(DataFrame(x=1:10,y=2:11))) I added a do.call method in IRanges that does this for you. On Mon, Dec 2, 2013 at 8:58 AM, Robert Castelo wrote: > hi, > > i would