plotSingleICA {psichomics} | R Documentation

## Create a scatterplot for ICA

### Description

Create a scatterplot for ICA

### Usage

    plotSingleICA(ica, icX = 1, icY = 2, groups = NULL)

### Arguments

`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)

### Value

Scatterplot as an `highcharter` object

### Examples

    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)

[Package psichomics version 1.6.2 Index]