IC_variance_calc: Calculating the variation explained by each component

Description Usage Arguments Value

Description

The function takes in a single row of the ICA result A matrix and a single column of the ICA result S matrix and calculates the sums of squares.

Usage

1

Arguments

s

A single column of the S matrix with dimensions 1 x g s

a

A single row of the A matrix with dimensions N x 1 a

Value

A single number of how much variantion is explained by a single IC.


jinhyunju/icreport documentation built on May 19, 2019, 10:35 a.m.