
72 R Programming for Bioinformatics
is described later. S4, on the other hand, requires explicit method registration.
In S4, when the generic function is invoked, it examines the classes of all
arguments in its signature and then linearizes the methods, invoking the most
sp ecific one.
3.2.3 Abstract data types
In some discussions there is confusion between the use of abstract data
types (ADT) and OOP. It is useful to realize that the ADT paradigm can be
adopted in any language, regardless of whether or not it supports OOP.
Every time a decision is made about how to represent a set of quantities,
either simple ones, such as the time of day, or more complex ...