Description Usage Arguments Value Examples
View source: R/analysis_dimReduction_ica.R
Create a scatterplot for ICA
1 | plotSingleICA(ica, icX = 1, icY = 2, groups = NULL)
|
ica |
Object containing an ICA |
icX |
Character: name of the X axis |
icY |
Character: name of the Y axis |
groups |
Matrix: groups to plot indicating the index of interest of the samples (use clinical or sample groups) |
Scatterplot as an highcharter
object
1 2 3 4 5 6 7 8 9 10 | ica <- performICA(USArrests, scale=TRUE)
psichomics:::plotSingleICA(ica)
psichomics:::plotSingleICA(ica, icX=2, icY=3)
# 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")
psichomics:::plotSingleICA(ica, groups=groups)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.