Browse code

resolve Windows warnings occuring in the build 'file link 'MineICAParams-class' in package 'MineICA' does not exist and so has been treated as a topic'

Anne Biton authored on 23/04/2020 18:30:14
Showing 1 changed files
... ...
@@ -9,7 +9,7 @@
9 9
 }
10 10
 \arguments{
11 11
   \item{icaSet}{an object of class
12
-  \code{\link[MineICA:IcaSet-class]{IcaSet}}}
12
+  \code{\link[MineICA:class-IcaSet]{IcaSet}}}
13 13
 
14 14
   \item{keepVar}{a variable label, i.e the label of a
15 15
   column of the pheno data of icaSet available in
Browse code

Adds MineICA, SomatiCA and lpNet to the repos.

git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/MineICA@73179 bc3139a8-67e5-0310-9ffc-ced21a209358

Marc Carlson authored on 05/02/2013 22:15:53
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,108 @@
1
+\name{plotDensOneAnnotInAllComp}
2
+\alias{plotDensOneAnnotInAllComp}
3
+\title{Tests if groups of samples are differently distributed on the components and do the corresponding plots.}
4
+\usage{
5
+  plotDensOneAnnotInAllComp(icaSet, keepVar, path = NULL,
6
+    samples, keepComp, keepLev = NULL, colours = NULL,
7
+    legend.title = NULL, doPlot = TRUE, cutoff = 0.05,
8
+    onlySign = TRUE, resTests)
9
+}
10
+\arguments{
11
+  \item{icaSet}{an object of class
12
+  \code{\link[MineICA:IcaSet-class]{IcaSet}}}
13
+
14
+  \item{keepVar}{a variable label, i.e the label of a
15
+  column of the pheno data of icaSet available in
16
+  (\code{varLabels(icaSet)}) wich contains the groups of
17
+  interest}
18
+
19
+  \item{path}{the directory where the plots will be
20
+  located}
21
+
22
+  \item{samples}{a subset of sample names available in
23
+  \code{samplenames(icaSet)}, if NULL (default) all samples
24
+  are used}
25
+
26
+  \item{keepComp}{a subset of components available in
27
+  \code{indComp(icaSet)}, if NULL (default) all components
28
+  are used}
29
+
30
+  \item{keepLev}{the groups of interest, i.e the levels of
31
+  the annotation \code{keepVar} to be considered}
32
+
33
+  \item{colours}{A vector of colours indexed by the
34
+  elements of \code{keepLev}, if NULL the colours are
35
+  generated automatically using annot2Color}
36
+
37
+  \item{legend.title}{title of the legend}
38
+
39
+  \item{cutoff}{The threshold p-value for statistical
40
+  significance}
41
+
42
+  \item{doPlot}{if TRUE (default), the plots are drawn,
43
+  else if FALSE only test results are returned}
44
+
45
+  \item{onlySign}{if TRUE (default), only the significant
46
+  results are plotted}
47
+
48
+  \item{resTests}{a vector of p-values per component, if
49
+  NULL (default) the p-values are calculated using Wilcoxon
50
+  or Kruskal-Wallis test}
51
+}
52
+\value{
53
+  Returns a data.frame of dimensions 'components x 1'
54
+  containing the results of the non-parametric tests
55
+  (Wilcoxon or Kruskal-Wallis tests) that test if the
56
+  groups of interest are differently distributed on the
57
+  components
58
+}
59
+\description{
60
+  Given a variable of the phenotype data (i.e vector of
61
+  sample annotations), this function tests if the groups of
62
+  samples formed by this variable are differently
63
+  distributed on the components, in terms of contribution
64
+  values. The distribution of the groups on the components
65
+  are represented using density plots. It is possible to
66
+  restrict the tests and the plots to a subset of samples
67
+  and/or components.
68
+}
69
+\details{
70
+  Wilcoxon or Kruskal-Wallis tests are applied depending on
71
+  the number of groups of interest from the considered
72
+  annotation (argument \code{keepLev}). The plots are saved
73
+  in individual files (one file per component) in arg
74
+  'path' if specified or in the current directory if not
75
+  specificied. Ech individual file is nameb
76
+  'index-of-component_colAnnot.png.' Recall that the
77
+  sample-contribution values are contained in
78
+  \code{A(icaSet)}, and the sample annotations in
79
+  \code{pData(icaSet)}.
80
+
81
+  One png image is created by plot and located in
82
+  \code{path}. Each image is named by
83
+  'index-of-component_keepVar.png'.
84
+}
85
+\examples{
86
+\dontrun{
87
+## load an example of IcaSet
88
+data(icaSetCarbayo)
89
+
90
+## have a look at the sample annotations which are available
91
+varLabels(icaSetCarbayo)
92
+
93
+## with doPlot=TRUE trace the contributions of the samples according
94
+## to their grade on the components
95
+restests <- plotDensOneAnnotInAllComp(icaSet=icaSetCarbayo, keepVar="GRADE",
96
+                                                doPlot=FALSE)
97
+}
98
+}
99
+\author{
100
+  Anne Biton
101
+}
102
+\seealso{
103
+  \code{\link{wilcoxOrKruskalOnA}},
104
+  code{\link{writeHtmlResTestsByAnnot}},
105
+  code{\link{wilcox.test}}, code{\link{kruskal.test}}
106
+}
107
+\keyword{internal}
108
+