eigen values - extract rois signals

Submitted by saikar on

Hi All,

 

I want to extract ROI signals using DPARSF, but the eigen values instead of the mean values of the ROIs.

Is there a way to extract eigen values in DPARSF?

Thanks,

Sai

YAN Chao-Gan

Wed, 09/17/2014 - 18:39

Hi Sai,

Line 208:

SeedSeries{1,iROI} = mean(AllVolume(:,find(MaskROI)),2);


Change mean -> eig
to have a try.

Hope this helps.

Best,

Chao-Gan


On Wed, Sep 17, 2014 at 2:05 PM, The R-fMRI Network <rfmri.org@gmail.com> wrote:
[To post a comment, please reply to rfmri.org@gmail.com ABOVE this line]

By sai karne (saikar)

Hi All,


 


I want to extract ROI signals using DPARSF, but the eigen values instead of the mean values of the ROIs.


Is there a way to extract eigen values in DPARSF?


Thanks,


Sai


Online version of this post: http://rfmri.org/content/eigen-values-extract-rois-signals


Many a little makes a mickle -- your kind contributions shall make our efforts not perish from the earth. Please help The R-fMRI Network at http://rfmri.org/#overlay=HelpUs
To manage subscriptions, please visit: http://rnet.co/mailman/listinfo/rfmri.org_rnet.co
Mail comment ID: http://rfmri.org/mailcomment/redirect/%3C31.1841.0.1410977121.4f7363ef0cc5954e64ca113a2e53d9df%40www.rfmri.org%3E

I tried that once , it did not work . I am running it again to see if it runs this time. Thanks for the reply, I will keep you posted on the outcome.

 

sai

 

From: RFMRI.ORG [mailto:rfmri.org-bounces@rnet.co] On Behalf Of The R-fMRI Network Sent: Wednesday, September 17, 2014 2:40 PM
To: rfmri.org@rnet.co
Subject: Re: [RFMRI] eigen values - extract rois signals

 

[To post a comment, please reply to rfmri.org@gmail.com ABOVE this line]

 

Commented by YAN Chao-Gan (YAN Chao-Gan)

Hi Sai,

 

Line 208:

 

            SeedSeries{1,iROI} = mean(AllVolume(:,find(MaskROI)),2 );

 

 

Change mean -> eig

to have a try.

 

Hope this helps.

 

Best,

 

Chao-Gan

 

 

On Wed, Sep 17, 2014 at 2:05 PM, The R-fMRI Network <rfmri.org@gmail.com> wrote:

[To post a comment, please reply to rfmri.org@gmail.com ABOVE this line]

 

By sai karne (saikar)

Hi All,

 

 

 

I want to extract ROI signals using DPARSF, but the eigen values instead of the mean values of the ROIs.

 

Is there a way to extract eigen values in DPARSF?

 

Thanks,

 

Sai


Online version of this post: http://rfmri.org/content/eigen-values-extract-rois-signals

 

Many a little makes a mickle -- your kind contributions shall make our efforts not perish from the earth. Please help The R-fMRI Network at http://rfmri.org/#overlay=HelpUs
To manage subscriptions, please visit: http://rnet.co/mailman/listinfo/rfmri.org_rnet.co
Mail comment ID: http://rfmri.org/mailcomment/redirect/%3C31.1841.0.1410977121.4f7363ef0cc5954e64ca113a2e53d9df%40www.rfmri.org%3E

 


Online version of this post: http://www.rfmri.org/comment/3271#comment-3271

 

===================================

Please consider the environment before printing this e-mail

Cleveland Clinic is ranked as one of the top hospitals in America by U.S.News & World Report (2014). Visit us online at http://www.clevelandclinic.org for a complete listing of our services, staff and locations. Confidentiality Note: This message is intended for use only by the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy.

 Hi Chao-Gan,

I tried it again and here is the error that I get,

??? Error using ==> eig
Matrix must be square.

Error in ==> y_ExtractROISignal at 209
            SeedSeries{1,iROI} = eig(AllVolume(:,find(MaskROI)),2);

 

Sai.

Sorry, my bad, you should use something like 

Line 104:

[U S V] = svd(AllVolume,'econ');
PCs = U(:,1:PCNum);

Hope you know some programming.

Best,

Chao-Gan



On Wed, Sep 17, 2014 at 3:28 PM, The R-fMRI Network <rfmri.org@gmail.com> wrote:
[To post a comment, please reply to rfmri.org@gmail.com ABOVE this line]

Commented by sai karne (saikar)

 Hi Chao-Gan,

I tried it again and here is the error that I get,

??? Error using ==> eig
Matrix must be square.