Skip to content

Icicle tree to visualize the variance explained by each IC component, as output from MELODIC.

License

Notifications You must be signed in to change notification settings

dangom/icicle-tree-melodic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ICA Icicle Plots

A tool to generate icicle plots displaying:

  1. The amount of variance in each ICA component;
  2. The amount of variance explained by the dimensionality of the ICA decomposition, in comparison to the full data;
  3. Components accepted and rejected by either FIX or ME-ICA cleaning (the only currently supported methods).

Here is an example image:

./icicle_plot.png

The upper row shows the variance not explained (in orange) by the space spanned by the ICA components, but present in the original data nonetheless. The lower row shows components that are accepted (in blue) by the cleaning method, and rejected (in orange). Each rectangle represents one component, and its area is equivalent to the amount of variance it explains.

Usage

ICA Icicle Plots currently supports FIX and ME-ICA. It will automatically detect what cleaning method was used, if any. However, if you did use FIX, you’ll have to specify the FIX results.txt file yourself. This file usually has a name similar to “fix4melview_blabla.txt”.

Directly from the help menu:

icicles.py [-h] [–fix FIX] i o

Save an icicle plot to file

positional arguments: i The input ICA directory o The output filename

optional arguments: -h, –help show this help message and exit –fix FIX If FIX, the txt containing fix classification results

Installation

Clone the repository.

Dependencies

Python3 with pandas and matplotlib.

About

Icicle tree to visualize the variance explained by each IC component, as output from MELODIC.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages