Learn R Programming

MineICA (version 1.12.0)

nbOccByGeneInComp: 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

Examples

Run this code
 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)

 

Run the code above in your browser using DataLab