[Bioc-devel] R6 and Bioconductor

Michael Lawrence lawrence.michael at gene.com
Fri May 12 14:41:49 CEST 2017


One place where one might think of using R6 is in the implementation
of a mutable data model underlying a GUI like a Shiny app. If mutable
semantics are required, consider using S4 reference classes, as they
offer more features than R6 and will integrate directly with
Bioconductor S4 classes.

Michael

On Thu, May 11, 2017 at 11:05 PM, Garth Ilsley <garth.ilsley at oist.jp> wrote:
> Hello,
>
> I am thinking of creating package for Bioconductor, and I am wondering about the use of R6 classes (from the R6 package). I do indeed intend to use existing Bioconductor classes such as SummarizedExperiment and interact and make use of other Bioconductor packages, such as scater and DESeq2. This appears to be in accordance with the guidelines (https://www.bioconductor.org/developers/package-guidelines/#classes), but does the use of R6 classes disqualify the package from being in Bioconductor? Do I need to write my classes as S4 in order to qualify?
>
> Thank you for your help.
>
> Best regards,
> Garth
>
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> Bioc-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel



More information about the Bioc-devel mailing list