Re: [Bioc-devel] How to define S4 method for class from another package

2019-04-03 Thread Stephen Martin Pederson
x27;ll revert to S4 before resubmission. It's a relatively trivial thing to change in this case. All the best, Steve From: Martin Morgan Sent: Thursday, 4 April 2019 1:49 AM To: Stephen Martin Pederson; bioc-devel@r-project.org Subject: Re: [Bioc-devel] How

Re: [Bioc-devel] How to define S4 method for class from another package

2019-04-03 Thread Stephen Martin Pederson
scussion which made me think it's not permissable is here: https://github.com/Bioconductor/Contributions/issues/985#issuecomment-468003572 Thanks again, Steve From: Martin Morgan Sent: Thursday, 4 April 2019 12:18 AM To: Stephen Martin Pederson; bioc-devel@r

[Bioc-devel] How to define S4 method for class from another package

2019-04-02 Thread Stephen Martin Pederson
Hi, I'm really struggling with how to use an S4 class defined in another package, where I would like to define a method for it in my package. By way of simple example, I'd like to use a DNAStringSet to define an expected GC distribution based on a given fragment size. I had defined the method