Skip to content
Prev 12050 / 21312 Next

[Bioc-devel] R6 class v.s. S4 class

The Biothings service looks interesting -- I had a look at the variant
API and noticed that GRASP information is returned.  We don't have that
in a convenient form.  However we do have plenty of variant and gene
annotation and object classes that are relevant to these.

We have had a discussion lately about R6 and one point was raised to
the effect that reference classes (?setRefClass) in methods is better
integrated with S4 and
is probably to be preferred.  Another comment raised the concern that
reference
semantics are generally unfamiliar to users and should be used only when
fully justified.

My question would be: Do you really need an object system to allow users
to make effective use of the Biothings service/API?  We can use httr and
rjson to
issue queries and translate their results.  I am commenting with very
superficial
acquaintance with your package and hope that we can continue the discussion.
On Thu, Oct 19, 2017 at 8:25 PM, Chunlei Wu <cwu at scripps.edu> wrote:

            

  
  
Message-ID: <CAANT7+VR5MCEpRGcXWjnrV7XR8rwDaovTa=-zdHbz9e2hJceBw@mail.gmail.com>
In-Reply-To: <CY4PR11MB14008C7C89B07264BD2A4251B9430@CY4PR11MB1400.namprd11.prod.outlook.com>