getProj: Extract projection values

Description Usage Arguments Value Author(s) Examples

View source: R/functions.R

Description

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

Usage

1
2
  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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## 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")

MineICA documentation built on Nov. 8, 2020, 5:35 p.m.