Skip to content
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

Run PCA on affinity matrix videos #11

Open
magsol opened this issue Jul 5, 2018 · 0 comments
Open

Run PCA on affinity matrix videos #11

magsol opened this issue Jul 5, 2018 · 0 comments
Assignees

Comments

@magsol
Copy link
Member

magsol commented Jul 5, 2018

Using output from #10, perform a PCA to determine components that covary.

The first step is to raster-scan the affinity matrices from "video" format into a 2D matrix, with frames as columns and "affinities" as rows; if you had 100 GMM components and 100 frames over which you evaluated those components, your raster-scanned matrix would be 10,000 x 100.

Perform PCA on this matrix to reduce the time dimension and discover covariances between the components over time. Un-raster-scan the corresponding eigenvectors back into "affinity"-shaped matrices to see where the covariances are positive/negative, and use that implant that information over the original 2D spatial plots of GMM components.

Compare these covariances between conditions (more details TBD).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants