nbOccByGeneInComp: nbOccByGeneInComp

View source: R/functions.R

nbOccByGeneInCompR Documentation

nbOccByGeneInComp

Description

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

Usage

nbOccByGeneInComp(Slist, cutoff, sel)

Arguments

Slist

A list whose each element contains projection values of features/genes on a component.

cutoff

A threshold to be used to define a gene as contributor

sel

A list whose each element contains projection values of contributing features/genes on a component (the difference with arg Slist is that sel is already restricted to the contributing genes).

Value

This function returns a list which gives for each feature/gene the indices of the components it contributes to.

Author(s)

Anne Biton

Examples

 c1 <- rnorm(100); names(c1) <- paste("g",100:199,sep="")
 c2 <- rnorm(100); names(c2) <- paste("g",1:99,sep="")
 MineICA:::nbOccByGeneInComp(Slist=list(c1,c2), cutoff= 0.5)

 

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