catavallejos / BASiCS

BASiCS: Bayesian Analysis of Single-Cell Sequencing Data. This is an unstable experimental version. Please see http://bioconductor.org/packages/BASiCS/ for the official release version

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

setGeneric for format?

alanocallaghan opened this issue · comments

So setMethod should implicitly call setGeneric but something's gone wrong. Maybe an upstream package has removed it.

Somewhat conflicting advice from eg https://thomas-cokelaer.info/blog/2013/01/r-language-object-oriented-programming/, https://stat.ethz.ch/R-manual/R-devel/library/methods/html/setGeneric.html about setGeneric's safety. The latter says that multiple generics are identical and just added to a methods table.

For now going with setGeneric but this may cause issues!

one option is to request format to be added to BiocGenerics. Not sure what are the rules for that.

Deprecating it