getComp {MineICA} | R Documentation

## 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:

proj:

  the feature or gene projections on the given component,

contrib:

  the sample contributions on the given component.

### Author(s)

Anne Biton

### See Also

`class-IcaSet`

[Package MineICA version 1.30.0 Index]