iter-methods {Biobase}R Documentation

Methods for the generic iter.

Description

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.

Methods

object = exprSet, covlab = missing, f = function
Apply the function f to the rows of the expression data, exprs, of object.
object = exprSet, covlab = missing, f = list
In this case it is presumed that 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.
object = exprSet, covlab = character, f = function
The function 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.

[Package Biobase version 1.4.15 Index]