Description Usage Arguments Value See Also Examples
View source: R/analysis_dimReduction_ica.R
Create multiple scatterplots from ICA
1 |
ica |
Object resulting from |
components |
Numeric: independent components to plot |
groups |
Matrix: groups to plot indicating the index of interest of the samples (use clinical or sample groups) |
... |
Arguments passed on to
|
Multiple scatterplots as a pairsD3
object
Other functions to analyse independent components:
performICA()
1 2 3 4 5 6 7 8 9 10 | data <- scale(USArrests)
ica <- fastICA::fastICA(data, n.comp=4)
plotICA(ica)
# Colour by groups
groups <- NULL
groups$sunny <- c("California", "Hawaii", "Florida")
groups$ozEntrance <- c("Kansas")
groups$novel <- c("New Mexico", "New York", "New Hampshire", "New Jersey")
plotICA(ica, groups=groups)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.