Skip to content
Prev 1191 / 21312 Next

[Bioc-devel] eSet classes

these remarks are pretty unobjectionable but i will issue one
rebuttal.  it is almost completely inevitable that software
design/development starts with basic data types.

however, the classes are there to motivate/support designs that will work
well in practice related to bioinformatics/compbio.  one of the
central concerns tackled by the eSet design is that it is
generally inadequate to design for subsetting the matrix of
assay results on its own.   it is important to consider how such
subset operations induce selections in the associated data frame of
sample level data.

if you support selections of samples in the assay data, the
same selections in the sample data are probably desired.
designing with eSet functionality in mind can reduce the effort
required to accomplish sensible subsetting.  the fact that the
eSet class is closed under subsetting operations (subset an eSet,
you get back an eSet) is also beneficial.  matrices don't have
these characteristics.

so while it is true that you could 'wrap' low level software/data to
get the behaviors of the classes, that level of separation may not
be most effective.  if you are concerned that the next generation
of containers may be incompatible with eSet and friends, note that
we put a fair amount of effort into establishing converters from
exprSet to eSet and that a lot of software and serialized data objects
converted with little effort.