Skip to content
Prev 7219 / 21312 Next

[Bioc-devel] 2 candidates for BiocGenerics

Hi,

The organism and species accessors (getters and setters) are now generic
functions in BiocGenerics (>= 0.13.8).

To my knowledge all the packages in devel (except rsbml) that define
(or use) these accessors were modified to use these new generics.
Please let me know if I forgot some.

Some clarifications (just added now in BiocGenerics 0.13.9) in the
man page for these generics:

   Value:

      ?organism? should return the _scientific name_ (i.e. genus and
      species, or genus and species and subspecies) of the organism.
      Preferably in the format ?"Genus species"? (e.g. ?"Homo sapiens"?)
      or ?"Genus species subspecies"? (e.g.  ?"Homo sapiens
      neanderthalensis"?).

      ?species? should of course return the species of the organism.
      Unfortunately there is a long history of misuse of this accessor
      in Bioconductor so its usage is now discouraged (starting with
      BioC 3.1).

   Note:

      TO DEVELOPPERS:

      ?species? has been historically misused in many places in
      Bioconductor and is redundant with ?organism?. So implementing the
      ?species? accessor is now discouraged (starting with BioC 3.1).
      The ?organism? accessor (returning the _scientific name_) should
      be implemented instead.

Cheers,
H.
On 03/10/2015 07:28 AM, Laurent Gatto wrote: