iter-methods {Biobase} | R Documentation |
This is a set of methods to iterate over different types of
objects. The behaviour of the methods is similar to that of the
apply
family.
f
to the rows of the expression data, exprs
, of
object
. f
is a list of functions, each of which returns a
single value. The functions are applied sequentially to the rows of the
expression data, exprs
, of object
. The answers are stored in
the columns of the return matrix. f
is assumed to be a function of two arguments. The covariate in
the object
with name specified by covlab
is extracted and
bound to the second argument of f
. Then the resultant function is
passed back through iter
and we effectively obtain the result of
this function applied to the rows of the expression data, exprs
, of
object
.