Usage
plotDensOneAnnotInAllComp(icaSet, keepVar, path = NULL, samples, keepComp, keepLev = NULL, colours = NULL, legend.title = NULL, doPlot = TRUE, cutoff = 0.05, onlySign = TRUE, resTests)
Arguments
keepVar
a variable label, i.e the label of a
column of the pheno data of icaSet available in
(varLabels(icaSet)
) wich contains the groups of
interest
path
the directory where the plots will be
located
samples
a subset of sample names available in
samplenames(icaSet)
, if NULL (default) all samples
are used
keepComp
a subset of components available in
indComp(icaSet)
, if NULL (default) all components
are used
keepLev
the groups of interest, i.e the levels of
the annotation keepVar
to be considered
colours
A vector of colours indexed by the
elements of keepLev
, if NULL the colours are
generated automatically using annot2Color
legend.title
title of the legend
cutoff
The threshold p-value for statistical
significance
doPlot
if TRUE (default), the plots are drawn,
else if FALSE only test results are returned
onlySign
if TRUE (default), only the significant
results are plotted
resTests
a vector of p-values per component, if
NULL (default) the p-values are calculated using Wilcoxon
or Kruskal-Wallis test