Wednesday, October 2, 2019

Citing images in your writings

I often have questions how to cite images from different sources (not to mention there tons of formatting!)

Here's a good summary about image citation
http://writeanswers.royalroads.ca/faq/199200

and the article also referred to 
Lee, C. (2016, January 26). Navigating copyright for reproduced images: Part 4. Writing the copyright statement [Blog post]. Retrieved from http://blog.apastyle.org/apastyle/2016/01/navigating-copyright-part-4.html

Hope this helps everyone else too!

Monday, September 16, 2019

Vanderbilt thesis requirements [The Graduate School]


Main page
https://gradschool.vanderbilt.edu/academics/theses/index.php

Full guideline
https://gradschool.vanderbilt.edu/documents/Format_Guidelines-rev_5-19.pdf

Latex template
https://www.sharelatex.com/templates/thesis/vanderbilt-university-thesis
https://www.overleaf.com/latex/templates/vanderbilt-dissertation-template/zbzkbtrtbvjj
https://github.com/hootener/LaTeX-Vanderbilt-Dissertation-Format [original resource]

Friday, September 13, 2019

Medical Imaging in Malaysia

I don't know how long will I still be doing my doctoral study, but I'm looking forward to pursue the same interest in medical imaging when I go back to my home country. So I googled a bit on places that have such researches/work.

http://www.ukm.my/spmalaysia/
http://www.mjms.usm.my/default.asp
http://cisir.utp.edu.my
http://www.medic.usm.my/neurosciences/

More to explore. But I can see more research is expanding in Malaysia, which is exciting! :)

Wednesday, April 24, 2019

fMRI coordinate spaces

While there are so many coordinates that people are using in fMRI world, not many atlases have the same coordinates (well, of course, different images have different sizes).

Some of the common coordinates that are being used to using atlases are the MNI and Talairach coordinates. There are as well about icbm, which I have yet to explore.

Here are some of the resources to the information:
http://talairach.org/index.html


Some softwares that can be used to convert your image  into these coordinates:

  • FSL: They have two different methods - FLIRT and FNIRT
  • SPM: https://www.fil.ion.ucl.ac.uk/spm/software/spm12/


Matlab conversion functions:
http://www.alivelearn.net/?p=1434
and more if you search it on the internet (which I will add more if I found best ones)

Hope this is a helpful compilations. I'm still having trouble understanding (or probably don't have time to think about it) the best rotation matrix, affine transformation for these fMRI data. Hopefully at least this works and get my data better results. :)

Monday, August 7, 2017

Why PCA in fMRI?

PCA or principal component analysis gave a huge contribution in fMRI studies since this type of image was introduced about 2 decades ago. In general, PCA is used for two main reasons:

  1. To extract brain regions from the fMRI
  2. To extract the regions that are activated within the same network.
We will go deeper into these later on after covering the basics of PCA.
*All references for PCA can be found here

What's behind PCA

Motivation
PCA is very popular for its dimensionality reduction and pattern recognition abilities for huge data. It can help us to express the data in a more meaningful way by highlighting the differences and similarities. Since it is hard to visualize huge data in graphical representation, doing PCA can help to reduce the less important dimensions with much loss of information.

Equation
In general, PCA can be viewed in a common simple matrix equation...
X = AS
X is what we have now, the fMRI huge data. The details of fMRI structure can be referred here (link to entry). From these huge data, we want to find groups of voxels that can be defined as a region or groups of regions that we can define as a network.

A is normally called as the mixing matrix, the matrix that can construct and deconstruct back the original image (in fMRI case). People usually use this to learn:
  • when a region (part of the brain) is activated over time, or
  • where a network is changing over time.
S, the matrix that is usually being analyzed in a static studies, is the separated sources matrix, where the data X, are grouped in different dimensions from the X's dimensions.



Characteristics...
... of the sources (spatial map)
Gaussian One of the key things in PCA is the original have to be Gaussian. And a lot real data is usually Gaussian.

Why do the data have to be Gaussian distributed to use PCA? 

Explained by Shlens, "The only zero-mean probability distribution that is fully described by the variance is the Gaussian distribution." As PCA is searching for the new dimensions that have the highest variability, we need variance to be part of the factor in characterizing the data.

Not sure if this is clear, if not, let me know. I will try to rephrase.

In practice, most of real data are usually Gaussian. But not all. So, if we use PCA on non-Gaussian data, we will get some weird results not the way we expect it to be. 

Uncorrelated Another important characteristic that we need to understand is the sources have to be uncorrelated between each pair. We assume that each two sources (X and Y for example) that we will find through PCA have zero correlation-coefficient:
And having a zero correlation, this will lead to zero covariance as can be seen in the equation below:


And more, we know that covariance is related to the joint expectation,


will lead to the independent joint expectation.


This is kind of too mathematical, I know. I'll try to do a separate entry on this topic if I remember next time.

- gaussian
- uncorrelated
- independent?
Components distribution
- orthogonal


Resources
http://stats.stackexchange.com/questions/2691/making-sense-of-principal-component-analysis-eigenvectors-eigenvalues/140579#140579
http://www.cs.otago.ac.nz/cosc453/student_tutorials/principal_components.pdf
http://stats.stackexchange.com/questions/32105/pca-of-non-gaussian-data
http://www.stat.cmu.edu/~cshalizi/uADA/13/reminders/uncorrelated-vs-independent.pdf

Tuesday, March 22, 2016

functional connectivity resources - PCA and ICA

General
http://www.sbirc.ed.ac.uk/cyril/download/DTP_Functional%20connectivity%20in%20fMRI.pdf

PCA
Tutorial PCA
http://www.cs.otago.ac.nz/cosc453/student_tutorials/principal_components.pdf
http://www.cs.princeton.edu/picasso/mats/PCA-Tutorial-Intuition_jp.pdf

Layman's explanation
http://stats.stackexchange.com/questions/2691/making-sense-of-principal-component-analysis-eigenvectors-eigenvalues/140579#140579

Eigenvalues
http://www.mathworks.com/moler/eigs.pdf

Uncorrelated vs Independent
http://www.stat.cmu.edu/~cshalizi/uADA/13/reminders/uncorrelated-vs-independent.pdf


ICA
Tutorial ICA


Common algorithms

  1. Infomax 
    • main paper:
    • tutorial:
    • others: 
  2. FastICA
    • main paper:
    • tutorial:


Thursday, January 14, 2016

IEEE Collabratec

Found this on Facebook ad, looks useful, but maybe a bit overlapping with Mendeley or other tools that area already available. Just set it up to give it a try. :)


https://ieee-collabratec.ieee.org/app/home