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

getCompR 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


bitona/MineICA documentation built on April 23, 2023, 1:41 p.m.