getProj {MineICA} | R Documentation

## Extract projection values

### Description

Extract projection values of a given set of IDs on a subset of components.

### Usage

      getProj(icaSet, ids, keepComp,
        level = c("features", "genes"))

### Arguments

`icaSet` | An object of class `IcaSet`
`ids` | feature or gene IDs
`keepComp` | Index of the components to be conserved, must be in `indComp(icaSet)`
`level` | The level of projections to be extracted, either `"features"` or `"genes"`

### Value

A vector or a list of projection values

### Author(s)

Anne Biton

### Examples

    ## load an example of IcaSet
    data(icaSetCarbayo)

    ##get the projection of your favorite proliferation genes
    #on all components
    getProj(icaSetCarbayo, ids=c("TOP2A","CDK1","CDC20"), level="genes")

    #on some components
    getProj(icaSetCarbayo, ids=c("TOP2A","CDK1","CDC20"),
    keepComp=c(1,6,9,12),level="genes")

    ##get the gene projection values on the sixth component
    getProj(icaSetCarbayo, keepComp=6,level="genes")

[Package MineICA version 1.28.0 Index]