Description Usage Arguments Details Value Author(s) See Also
View source: R/functions_comp2annot.R
Given a variable of the phenoData, this function tests if
the groups of samples formed by this variable are
differently distributed, in terms of contribution value
(i.e of values in matrix A(icaSet)
), on the
components. The distribution of the groups on the
components are represented using density plots. It is
possible to restrict the tests and the plots to a subset
of samples and/or components.
1 2 3 |
icaSet |
An object of class |
params |
An object of the class |
colAnnot |
a variable label, i.e one of the
variables available in ( |
samples |
a subset of sample names available in
|
keepComp |
a subset of components available in
|
keepLev |
the groups of interest, i.e the levels of
the variable |
colAll |
The colour of the global histogram, default is "grey74" |
file |
the file where the histograms will be plotted |
addExpr |
if TRUE (default) the expression profiles of the witness genes of each component are added below the plot |
binwidth |
binwidth of the histogram (default is 0.1) |
... |
other parameters for geom_histogram function from ggplot2 package |
Wilcoxon or Kruskal-Wallis tests are applied depending on
the number of groups of interest from the considered
annotation (argument keepLev
). One png image is
created by plot and located in path
. Each image is
named by component-of-component_colAnnot.png.
NULL
Anne Biton
plotPosOneAnnotLevInComp_ggplot
,
geom_histogram
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.