-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DOC] Reporting documentation #465
Changes from 83 commits
58a2c32
b61fb1e
34c9133
fcaf13b
942a469
b7262ab
fbb2659
31bf94f
f0db0f5
1901196
2bffccf
1627b10
89fd655
8bf5310
0b44fa0
70bbe10
d834b30
27f7ac8
ebea3c9
5ff0d3d
ed44834
7302e1e
d82e284
c9f1396
84cdee1
b496dee
ef318b6
41f6d0a
879b297
632900b
96a896f
d1a417b
b9b9117
636d9ed
8986fab
bc668d0
748c9a9
8192fb2
d7c3745
ed3500a
3ce5d4d
b66d097
8a8fe7e
b48aa7f
55e5900
2fd4683
46c3eb4
53b2248
de61e24
4f8be84
797f735
133b7e2
464bef0
b66d578
a8f9900
131dc82
1a4a174
3f162a5
72cd396
1363c01
7d5ec6b
88ae8ab
2b5a94b
ba68bfd
05e91a4
663f5eb
1b517b6
4817b8a
b4cf000
cfbfb1c
e61acaa
91a9f61
47d2c75
e99cea0
605535d
78963cf
470799f
e9cbc54
1b59407
635405e
f3965af
d72a5b8
27a0652
252f7c3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,168 @@ | ||
##################### | ||
ICA Components Report | ||
##################### | ||
|
||
The reporting page for the tedana decomposition presents a series | ||
of interactive plots designed to help you evaluate the quality of your | ||
analyses. This page describes the plots forming the reports and well as | ||
information on how to take advantage of the interactive functionalities. | ||
You can also play around with `our demo`_. | ||
|
||
.. _our demo: https://me-ica.github.io/tedana-ohbm-2020/ | ||
|
||
Report Structure | ||
================ | ||
|
||
The image below shows a representative report, which has two sections: a) the summary view, | ||
and b) the individual component view. | ||
|
||
.. image:: /_static/rep01_overallview.png | ||
:align: center | ||
Summary View | ||
------------ | ||
This view provides an overview of the decomposition and component | ||
selection results. It includes four different plots. | ||
|
||
* **Kappa/Rho Scatter:** This is a scatter plot of `Kappa` vs. `Rho` features for all components. | ||
In the plot, each dot represents a different component. The x-axis represents the kappa feature, and the | ||
y-axis represents the rho feature. These are two of the most | ||
informative features describing the likelihood of the component | ||
being BOLD or non-BOLD. Additional information is provided via color | ||
and size. In particular, color informs about its classification | ||
status (e.g., accepted, rejected); while size relates to | ||
the amount of variance explained by the component (larger dot, | ||
larger variance). | ||
.. image:: /_static/rep01_kapparhoScatter.png | ||
:align: center | ||
:height: 400px | ||
|
||
* **Kappa Scree Plot:** This scree plot provides a view of the components ranked by `Kappa`. | ||
As in the previous plot, each dot represents a component. The color of the dot informs us | ||
about classification status. In this plot, size is not related to variance explained. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we explain what the axes are ? |
||
.. image:: /_static/rep01_kappaScree.png | ||
:align: center | ||
:height: 400px | ||
|
||
* **Rho Scree Plot:** This scree plot provides a view of the components ranked by `Rho`. | ||
As in the previous plot, each dot represents a component. The color of the dot informs us | ||
about classification status. In this plot, size is not related to variance explained. | ||
.. image:: /_static/rep01_rhoScree.png | ||
:align: center | ||
:height: 400px | ||
|
||
* **Variance Explained Plot:** This pie plot provides a summary of how much variance is explained | ||
by each individual component, as well as the total variance explained by each of the three | ||
classification categories (i.e., accepted, rejected, ignored). In this plot, each component is | ||
represented as a wedge, whose size is directly related to the amount of variance explained. The | ||
color of the wedge inform us about the classification status of the component. For this view, | ||
components are sorted by classification first, and inside each classification group by variance | ||
explained. | ||
.. image:: /_static/rep01_varexpPie.png | ||
:align: center | ||
:height: 400px | ||
|
||
Individual Component View | ||
------------------------- | ||
This view provides detailed information about an individual | ||
component (selected in the summary view, see below). It includes three different plots. | ||
|
||
* **Time series:** This plot shows the time series associated with a given component | ||
(selected in the summary view). The x-axis represents time (in units of TR), and the | ||
y-axis represents signal levels (in arbitrary units). Finally, the color of the trace | ||
informs us about the component classification status. | ||
|
||
.. image:: /_static/rep01_tsPlot.png | ||
:align: center | ||
:height: 150px | ||
|
||
* **Component beta map:** This plot shows the map of the beta coefficients associated with | ||
a given component (selected in the summary view). The colorbar represents the amplitude | ||
of the beta coefficients. | ||
|
||
.. image:: /_static/rep01_betaMap.png | ||
:align: center | ||
:height: 400px | ||
|
||
* **Spectrum:** This plot shows the spectrogram associated with a given component | ||
(selected in the summary view). The x-axis represents frequency (in Hz), and the | ||
y-axis represents spectral amplitude. | ||
|
||
.. image:: /_static/rep01_fftPlot.png | ||
:align: center | ||
:height: 150px | ||
|
||
.. note:: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is what I was thinking of 😸 Maybe let's move it up around L19 ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes! That's a great idea. Thank you! |
||
When a report is initially loaded, as no component is selected on the | ||
summary view, the individual component view appears empty. | ||
|
||
Reports User Interactions | ||
========================= | ||
|
||
As previously mentioned, all summary plots in the report allow user interactions. While the | ||
Kappa/Rho Scatter plot allows full user interaction (see the toolbar that accompanies the plot | ||
and the example below), the other three plots allow the user to select components and update the | ||
figures. | ||
|
||
.. image:: /_static/rep01_tools.png | ||
:align: center | ||
:height: 25px | ||
|
||
The table below includes information about all available interactions | ||
|
||
.. |Reset| image:: /_static/rep01_tool_reset.png | ||
:height: 25px | ||
|
||
.. |WZoom| image:: /_static/rep01_tool_wheelzoom.png | ||
:height: 25px | ||
|
||
.. |BZoom| image:: /_static/rep01_tool_areazoom.png | ||
:height: 25px | ||
|
||
.. |CHair| image:: /_static/rep01_tool_crosshair.png | ||
:height: 25px | ||
|
||
.. |Pan| image:: /_static/rep01_tool_pan.png | ||
:height: 25px | ||
|
||
.. |Hover| image:: /_static/rep01_tool_hover.png | ||
:height: 25px | ||
|
||
.. |Sel| image:: /_static/rep01_tool_select.png | ||
:height: 25px | ||
|
||
.. |Save| image:: /_static/rep01_tool_save.png | ||
:height: 25px | ||
|
||
============ ======= ======================================================= | ||
Interaction Icon Description | ||
============ ======= ======================================================= | ||
Reset |Reset| Resets the data bounds of the plot to their values when | ||
the plot was initially created. | ||
|
||
Wheel Zoom |WZoom| Zoom the plot in and out, centered on the current | ||
mouse location. | ||
|
||
Box Zoom |BZoom| Define a rectangular region of a plot to zoom to by | ||
dragging the mouse over the plot region. | ||
|
||
Crosshair |CHair| Draws a crosshair annotation over the plot, centered on | ||
the current mouse position | ||
|
||
Pan |Pan| Allows the user to pan a plot by left-dragging a mouse | ||
across the plot region. | ||
|
||
Hover |Hover| If active, the plot displays informational tooltips | ||
whenever the cursor is directly over a plot element. | ||
|
||
Selection |Sel| Allows user to select components by tapping on the dot | ||
or wedge that represents them. Once a component is | ||
selected, the plots forming the individual component | ||
view update to show component specific information. | ||
|
||
Save |Save| Saves an image reproduction of the plot in PNG format. | ||
============ ======= ======================================================= | ||
|
||
.. note:: | ||
Specific user interactions can be switched on/off by clicking on their associated icon within | ||
the toolbar of a given plot. Active interactions show an horizontal blue line underneath their | ||
icon, while inactive ones lack the line. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this reflects the state of the reports any more, unfortunately, since we removed the individual component view. The figure should be updated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1b59407 should take care of this.
I included the individual component view section in the end, as we do show a static view of individual components.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That looks right, thanks !! Should we note that the individual component view will be empty by default, since no component is pre-selected ?