Learn R Programming

MineICA (version 1.12.0)

getComp: Retrieve feature and sample values on a component stored in an IcaSet object.

Description

This generic function retrieves, from an IcaSet object, the feature projections (contained in attribute S) and sample contributions (contained in attribute A) corresponding to a specific component.

Usage

getComp(object, level, ind)

Arguments

object
Object of class IcaSet.
level
Either "features" to retrieve projections contained in S, or "genes" to retrieve projections contained in SByGene.
ind
The index of the component to be retrieved.

Value

getComp returns a list containing two elements:
contrib:
the sample contributions on the given component.

See Also

IcaSet-class