nbOccInComp_simple: nbOccInComp_simple

Description Usage Arguments Value Author(s) Examples

View source: R/functions.R

Description

For each feature/gene, this function returns the indices of the components they contribute to.

Usage

1
2
  nbOccInComp_simple(icaSet, params,
    selectionByComp = NULL, level = c("features", "genes"))

Arguments

icaSet

An object of class IcaSet.

params

An object of class MineICAParams containing the parameters of the analysis. cutoffSel(params) is used as a threshold on the absolute projections to select the contributing features/genes.

selectionByComp

The list of components already restricted to the contributing features/genes (each element is a vector of projection values indexed by features or genes).

level

The attribute of icaSet to be used, the occurences of either the "features" (using S(icaSet)) or the "genes" (using SByGene(icaSet)) will be reported.

Value

Returns a data.frame whose columns are: gene the feature or gene IDs, nbOcc the number of components the gene contributes to, components the indices of those components.

Author(s)

Anne Biton

Examples

1
2
3
data(icaSetCarbayo)
params <- buildMineICAParams(resPath="carbayo/")
nbOcc <- MineICA:::nbOccInComp_simple(icaSet=icaSetCarbayo, params=params, level="genes")

Bioconductor-mirror/MineICA documentation built on May 29, 2017, 8:30 a.m.