[Bioc-devel] Why should Bioconductor developers re-use core classes?

Michael Lawrence lawrence.michael at gene.com
Wed Oct 18 07:04:45 CEST 2017


If Biocondutor integration is important, then reference classes
(setRefClass) are preferable, since they fully integrate with the rest of
S4, including class hierarchies and method dispatch. It's important not to
be confused by the R6 branding. It's (sort of) an alternative to S4, not an
evolution of it.

Does R now have more HDF5 interfaces or more OOP frameworks?

Michael

On Tue, Oct 17, 2017 at 5:16 PM, Vincent Carey <stvjc at channing.harvard.edu>
wrote:

> I found it a very congenial presentation.
>
> One related issue -- perhaps -- a new HDF5 interface package, that is
> based on R6!
>
> https://github.com/hhoeflin/hdf5r
>
> Core class consciousness is surely worthy of promotion.  But what about OOP
> methodology?  I personally am happy with S4.  I believe there are some
> packages
> that use setRefClass ... any guidance on this?
>
> On Tue, Oct 17, 2017 at 7:54 PM, Levi Waldron <lwaldron.research at gmail.com
> >
> wrote:
>
> > I'm putting together a presentation with a demo on why Bioconductor
> > developers should re-use and extend core classes whenever possible. It
> > includes a demo of some real-life consequences from two packages I use a
> > lot, metagenomeSeq and phyloseq. These are far from the only examples,
> many
> > Bioconductor packages have created new classes from scratch, and I think
> as
> > a community we should greatly reduce that practice. I would welcome any
> > feedback:
> >
> > https://www.slideshare.net/LeviWaldron/why-reuse-core-classes
> >
> > (sorry the slides are a little Frankenstein - in the interest of speed I
> > made part of it in Powerpoint and part in Beamer, and used pdftk to
> > concatenate these! In practice I would do the Beamer part as a live-demo,
> > and take advantage of some animations in PPT)
> >
> >
> > --
> > Levi Waldron
> > http://www.waldronlab.org
> > Assistant Professor of Biostatistics     CUNY School of Public Health
> > US: +1 646-364-9616                                           Skype:
> > levi.waldron
> >
> >         [[alternative HTML version deleted]]
> >
> > _______________________________________________
> > Bioc-devel at r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/bioc-devel
> >
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> Bioc-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel
>

	[[alternative HTML version deleted]]



More information about the Bioc-devel mailing list