Giter Site home page Giter Site logo

cca's Introduction

CCA

  • Canonical Correlates Analysis (CCA) is a multivariate analysis technique for maximizing the correlations between orthagonalized sets of independent and dependent variates
  • The codes provided here are for the CCA as performed in Perry et al., (2017, in review), where
  • And are modified from Smith et al's., (2015) HCP investigation

edgebund

*Adapted from Perry et al., (2017)

Codes included within repository:

  • Normalization and decomposition of functional networks
  • CCA
  • Basic visualization output
  • Parcellation templates used in functional network construction

Required dependencies

Getting started

1. Data required:

  • Functional network matrices of all subjects (i.e. dependent variates in CCA) (connectivity matrices)
  • Design Matrix of non-imaging measures (i.e. independent variates in CCA) (DM)
  • Motion parameters (i.e. framewise displacement) of functional images (motionFD)
  • Centroids of parcellation template employed in functional network construction (COG)

2. Performing the CCA

  • Within a MatLab terminal run:
    • [CCAout] = cca_functional(connectivitymatrices, DM, motionFD, COG)

3. Extracting CCA results

  • The resultant data will be stored within the Matlab structure CCAout
  • Which stores important information in the fields of CCAout, such as:
    • grotU: Individual subjects weights for non-imaging measures captured by each CCA mode
    • grotV: Individual subjects weights for functional connectivity patterns captured by each CCA mode
    • grotR: Correlation between the orthagonalized non-imaging and connectivity patterns
    • conload: Loadings of non-imaging measures onto each modes connectivity patterns (i.e. grotV)
    • grotstats: Parametric statistical output

4. Visualising the CCA output

  • Extracted are the connectivity edges and nodes that are most strongly expressed (i.e. top 250 connections) by the first CCA mode
    • For both positive and negative associations with CCA mode
    • Users may want to modify their code, depending on their number of significant CCA modes
  • Data is extracted in the .nodes and .edge format required for BrainNet Viewer:
  • For example, for the top positive associations:
    • Nodes : CCA_nodes250topposcons_mode1.nodes
    • Edges : CCA_250topposcons_mode1.edge

bnvhelpgithub

hbm-mode1-poscons-axview
For any questions and more advanced codes/data please contact Alistair Perry (QIMR Berghofer) (alistairgperry at gmail.com)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.