plotSingleICA {psichomics} | R Documentation |
Create a scatterplot for ICA
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
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)