Skip to content
Prev 949 / 21312 Next

[Bioc-devel] TypeInfo

Dear Robert and Martin,

thanks for your answers! That is really encouraging and interesting.
I had read the R News article / vignette (but then was surprised at
seeing so little use in madman/Rpacks and in the svn log of the package
directory.)
Martin wrote:
The function "justvsn" would be appropriate.
Question: I have a function

setGeneric("vsn2",
  function(x, reference, strata, ...)
   standardGeneric("vsn2"))

and methods like:

setMethod("vsn2", "ExpressionSet",
   function(x,  reference, strata, ...)
      vsnMatrix(exprs(x),  reference, strata, ...))

for which not _all_ arguments are typed in the signature (vsnMatrix is a
'normal' R function). As far as I understand (and it may be wrong),
these arguments can also not be typed with TypeInfo. So is this style of
programming discouraged?

 Best wishes
  Wolfgang
Martin Morgan wrote: