S3-classes-as-S4-classes {BiocGenerics} | R Documentation |
Some old-style (aka S3) classes are turned into formally defined (aka S4) classes by the BiocGenerics package. This allows S4 methods defined in Bioconductor packages to use them in their signatures.
S3 classes currently turned into S4 classes:
connection class and subclasses: connection, file, url, gzfile, bzfile, unz, pipe, fifo, sockconn, terminal, textConnection, gzcon. Addtitionally the characterORconnection S4 class is defined as the union of classes character and connection.
setOldClass and setClassUnion in the methods package.