| clusterPCA | R Documentation |
This function performs a principal component analysis (PCA) on
selected cluster characteristics obtained from postHoc and returns
a plot of the variable loadings for the first two principal components.
clusterPCA(
resposthoc,
selectedVar = c("TDP", "meanlogFC", "nbPixels", "nbBins", "minHeight", "maxHeight",
"stripeScore", "triangleScore")
)
resposthoc |
An object of class |
selectedVar |
A character vector specifying the variables to include
in the PCA. The default is |
A ggplot object displaying the loadings of the first two principal
components computed from the selected cluster characteristics.
Élise Jorge elise.jorge@inrae.fr
Sylvain Foissac sylvain.foissac@inrae.fr
Toby Dylan Hocking toby.hocking@r-project.org
Pierre Neuvial pierre.neuvial@math.univ-toulouse.fr
Nathalie Vialaneix nathalie.vialaneix@inrae.fr
data("pighic")
resdiff <- performTest(pighic$data, pighic$conditions)
res2D <- AggloClust2D(resdiff)
if (!is.null(res2D)) {
resposthoc <- postHoc(resdiff, res2D$clustering, alpha = 0.05)
clusterPCA(resposthoc)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.