numOfFactorsToUse {puma} | R Documentation

## Determine number of factors to use from an ExpressionSet

### Description

This is really an internal function used to determine how many factors to use in design and contrast matrices

### Usage

    numOfFactorsToUse(eset)

### Arguments

`eset` | An object of class `ExpressionSet`.

### Value

An integer denoting the number of factors to be used.

### Author(s)

Richard D. Pearson

### See Also

Related methods `createDesignMatrix` and `createContrastMatrix`

### Examples

    if(FALSE){
    	#	Next 4 lines commented out to save time in package checks, and saved version used
        # if (require(affydata)) {
    	#	data(Dilution)
    	#	eset_mmgmos <- mmgmos(Dilution)
    	# }
    	data(eset_mmgmos)
    	numOfFactorsToUse(eset_mmgmos)
    }

[Package puma version 3.34.0 Index]