nbOccByGeneInComp: nbOccByGeneInComp

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

1
2
3
4
5
 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)

 

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