[Bioc-devel] Overloading subset operator for an S4 object with more than two dimensions

2015-05-14 Thread Christian Arnold
Hi there, I am about to develop a Bioconductor package that implements a custom S4 object, and I am currently thinking about a few issues, including the following: Say we have an S4 object that stores a lot of information in different slots. Assume that it does make sense to extract informat

Re: [Bioc-devel] Use and Usability metrics / shields

2015-05-14 Thread Wolfgang Huber
Can it be that the “in Bioc” shield is incorrect? For instance, it says “9.98 years” for vsn but the first commit was in Oct 2002 Curiously “9.98 years” is stated for many old packages - surely we can use R for more precise date arithmetic? Cheers Wolfgang > On May 13, 2015, at

Re: [Bioc-devel] Overloading subset operator for an S4 object with more than two dimensions

2015-05-14 Thread Wolfgang Huber
Dear Christian not sure this is a wise idea, it breaks the semantics of “[“. The number of elements stored in an array is the product of the extent of its dimensions. In your example, it is the sum. To put it less abstract, a[1:2, 2, 3:4, 1] for a regular array is a 2 x 2 matrix, whereas in your

Re: [Bioc-devel] Overloading subset operator for an S4 object with more than two dimensions

2015-05-14 Thread Michael Lawrence
I agree with Wolfgang that the semantics of [ are being violated here. It would though help if you could be a little less vague about your intent. What is this data structure going to store, how should it behave? On Thu, May 14, 2015 at 3:35 AM, Christian Arnold wrote: > Hi there, > > I am about

Re: [Bioc-devel] Use and Usability metrics / shields

2015-05-14 Thread Dan Tenenbaum
- Original Message - > From: "Wolfgang Huber" > To: "Dan Tenenbaum" > Cc: bioc-devel@r-project.org > Sent: Thursday, May 14, 2015 4:03:54 AM > Subject: Re: [Bioc-devel] Use and Usability metrics / shields > > > > Can it be that the “in Bioc” shield is incorrect? > For instance, it sa

Re: [Bioc-devel] Use and Usability metrics / shields

2015-05-14 Thread Dan Tenenbaum
- Original Message - > From: "Dan Tenenbaum" > To: "Wolfgang Huber" > Cc: bioc-devel@r-project.org > Sent: Thursday, May 14, 2015 7:33:04 AM > Subject: Re: [Bioc-devel] Use and Usability metrics / shields > > > > - Original Message - > > From: "Wolfgang Huber" > > To: "Dan T

Re: [Bioc-devel] Use and Usability metrics / shields

2015-05-14 Thread Martin Morgan
On 05/10/2015 11:39 AM, COMMO Frederic wrote: Dear Martin, All of these suggestions sound good. Wolfgang's suggestion regarding possible associated papers might be also great. Another useful information would be to point to other publications where a given package was used, and cited. I don't

Re: [Bioc-devel] Use and Usability metrics / shields

2015-05-14 Thread Jim Hester
The common shield convention is to use blue or orange when the information is not qualitatively good or bad, but the color choice is just subjective in the end. On Thu, May 14, 2015 at 10:47 AM, Martin Morgan wrote: > On 05/10/2015 11:39 AM, COMMO Frederic wrote: > >> Dear Martin, >> >> All of t

Re: [Bioc-devel] Use and Usability metrics / shields

2015-05-14 Thread Dan Tenenbaum
- Original Message - > From: "Jim Hester" > To: "Martin Morgan" > Cc: bioc-devel@r-project.org > Sent: Thursday, May 14, 2015 7:53:03 AM > Subject: Re: [Bioc-devel] Use and Usability metrics / shields > > The common shield convention is to use blue or orange when the > information > is