{"id":4400,"date":"2016-01-30T10:16:15","date_gmt":"2016-01-30T15:16:15","guid":{"rendered":"http:\/\/labrigger.com\/blog\/?p=4400"},"modified":"2016-01-30T10:16:15","modified_gmt":"2016-01-30T15:16:15","slug":"constrained-non-negative-matrix-factorization-for-calcium-imaging-data-analysis","status":"publish","type":"post","link":"http:\/\/labrigger.com\/blog\/2016\/01\/30\/constrained-non-negative-matrix-factorization-for-calcium-imaging-data-analysis\/","title":{"rendered":"Constrained non-negative matrix factorization for calcium imaging data analysis"},"content":{"rendered":"<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/labrigger.com\/blog\/wp-content\/uploads\/2016\/01\/e1.png\" alt=\"e1\" width=\"1000\" height=\"368\" class=\"alignnone size-full wp-image-4403\" srcset=\"http:\/\/labrigger.com\/blog\/wp-content\/uploads\/2016\/01\/e1.png 1000w, http:\/\/labrigger.com\/blog\/wp-content\/uploads\/2016\/01\/e1-300x110.png 300w, http:\/\/labrigger.com\/blog\/wp-content\/uploads\/2016\/01\/e1-768x283.png 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/p>\n<p>I <a href=\"https:\/\/twitter.com\/Labrigger\/status\/653487801229570048\">tweeted<\/a> about this last fall. This is the best algorithm I&#8217;ve seen for segmenting and extracting time course from calcium imaging data. Eftychios Pnevmatikakis developed the code in Liam Paninski&#8217;s lab. The work is reported in a pair of papers in Neuron, and the code is freely available (links below).<\/p>\n<p>The source separation works so well that Darcy Peterka used it to demix imaging data where two planes were imaged simultaneously. This isn&#8217;t temporal multiplexing (as we&#8217;ve been doing in my lab; <a href=\"http:\/\/biorxiv.org\/content\/early\/2015\/07\/08\/011320\">Stirman et al.<\/a>), it&#8217;s complete crosstalk between two imaging planes. They (Yang et al.) used an SLM to create two focii which were simultaneously scanned over two imaging planes (displaced in Z and\/or XY). They were able to completely demix the data and it looks very good. This is an interesting way to increase data acquisition throughput.<\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/labrigger.com\/blog\/wp-content\/uploads\/2016\/01\/d1.png\" alt=\"d1\" width=\"600\" height=\"272\" class=\"alignnone size-full wp-image-4402\" srcset=\"http:\/\/labrigger.com\/blog\/wp-content\/uploads\/2016\/01\/d1.png 600w, http:\/\/labrigger.com\/blog\/wp-content\/uploads\/2016\/01\/d1-300x136.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/labrigger.com\/blog\/wp-content\/uploads\/2016\/01\/d2.png\" alt=\"d2\" width=\"600\" height=\"394\" class=\"alignnone size-full wp-image-4404\" srcset=\"http:\/\/labrigger.com\/blog\/wp-content\/uploads\/2016\/01\/d2.png 600w, http:\/\/labrigger.com\/blog\/wp-content\/uploads\/2016\/01\/d2-300x197.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>These are very exciting advances. We&#8217;re already using them in my own lab. Eftychios&#8217; code basically works out-of-the-box. We&#8217;ve had to do a bit of tweaking to the algorithms depending on the attributes of particular data sets, but that&#8217;s to be expected. Eftychios has been very, very helpful (thanks!).<\/p>\n<p>So try these things out and give them feedback!<\/p>\n<p><a href=\"http:\/\/www.cell.com\/neuron\/abstract\/S0896-6273%2815%2901084-3\">Pnevmatikakis et al.<\/a> (Algorithm, performance on example applications)<br \/>\n<a href=\"http:\/\/www.cell.com\/neuron\/abstract\/S0896-6273%2815%2901085-5\">Yang et al.<\/a> (Dual-plane imaging)<\/p>\n<p><a href=\"https:\/\/github.com\/epnev\/ca_source_extraction\">Github page<\/a> with code<\/p>\n","protected":false},"excerpt":{"rendered":"<p align=\"center\">\n<p>I <a href=\"https:\/\/twitter.com\/Labrigger\/status\/653487801229570048\">tweeted<\/a> about this last fall. This is the best algorithm I&#8217;ve seen for segmenting and extracting time course from calcium imaging data. Eftychios Pnevmatikakis developed the code in Liam Paninski&#8217;s lab&#8230;.<\/p>\n<div class=\"read-more\"><a href=\"http:\/\/labrigger.com\/blog\/2016\/01\/30\/constrained-non-negative-matrix-factorization-for-calcium-imaging-data-analysis\/\">Read More<\/a><\/div><\/p>\n","protected":false},"author":1,"featured_media":4403,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[53],"tags":[25,38,51,21,47],"class_list":["post-4400","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-papers","tag-analysis","tag-calcium-imaging","tag-data-acquisition","tag-imaging","tag-two-photon"],"_links":{"self":[{"href":"http:\/\/labrigger.com\/blog\/wp-json\/wp\/v2\/posts\/4400","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/labrigger.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/labrigger.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/labrigger.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/labrigger.com\/blog\/wp-json\/wp\/v2\/comments?post=4400"}],"version-history":[{"count":6,"href":"http:\/\/labrigger.com\/blog\/wp-json\/wp\/v2\/posts\/4400\/revisions"}],"predecessor-version":[{"id":4409,"href":"http:\/\/labrigger.com\/blog\/wp-json\/wp\/v2\/posts\/4400\/revisions\/4409"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/labrigger.com\/blog\/wp-json\/wp\/v2\/media\/4403"}],"wp:attachment":[{"href":"http:\/\/labrigger.com\/blog\/wp-json\/wp\/v2\/media?parent=4400"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/labrigger.com\/blog\/wp-json\/wp\/v2\/categories?post=4400"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/labrigger.com\/blog\/wp-json\/wp\/v2\/tags?post=4400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}