git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/MineICA@73179 bc3139a8-67e5-0310-9ffc-ced21a209358
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,46 @@ |
1 |
+\name{nbOccInComp_simple} |
|
2 |
+\alias{nbOccInComp_simple} |
|
3 |
+\title{nbOccInComp_simple} |
|
4 |
+\usage{ |
|
5 |
+ nbOccInComp_simple(icaSet, params, |
|
6 |
+ selectionByComp = NULL, level = c("features", "genes")) |
|
7 |
+} |
|
8 |
+\arguments{ |
|
9 |
+ \item{icaSet}{An object of class \code{\link{IcaSet}}.} |
|
10 |
+ |
|
11 |
+ \item{params}{An object of class |
|
12 |
+ \code{\link{MineICAParams}} containing the parameters of |
|
13 |
+ the analysis. \code{cutoffSel(params)} is used as a |
|
14 |
+ threshold on the absolute projections to select the |
|
15 |
+ contributing features/genes.} |
|
16 |
+ |
|
17 |
+ \item{selectionByComp}{The list of components already |
|
18 |
+ restricted to the contributing features/genes (each |
|
19 |
+ element is a vector of projection values indexed by |
|
20 |
+ features or genes).} |
|
21 |
+ |
|
22 |
+ \item{level}{The attribute of \code{icaSet} to be used, |
|
23 |
+ the occurences of either the \code{"features"} (using |
|
24 |
+ \code{S(icaSet)}) or the \code{"genes"} (using |
|
25 |
+ \code{SByGene(icaSet)}) will be reported.} |
|
26 |
+} |
|
27 |
+\value{ |
|
28 |
+ Returns a data.frame whose columns are: \code{gene} the |
|
29 |
+ feature or gene IDs, \code{nbOcc} the number of |
|
30 |
+ components the gene contributes to, \code{components} the |
|
31 |
+ indices of those components. |
|
32 |
+} |
|
33 |
+\description{ |
|
34 |
+ For each feature/gene, this function returns the indices |
|
35 |
+ of the components they contribute to. |
|
36 |
+} |
|
37 |
+\examples{ |
|
38 |
+data(icaSetCarbayo) |
|
39 |
+params <- buildMineICAParams(resPath="carbayo/") |
|
40 |
+nbOcc <- MineICA:::nbOccInComp_simple(icaSet=icaSetCarbayo, params=params, level="genes") |
|
41 |
+} |
|
42 |
+\author{ |
|
43 |
+ Anne Biton |
|
44 |
+} |
|
45 |
+\keyword{internal} |
|
46 |
+ |