Meixi Chen, Martin Lysy
The fastr (Factor Analysis of Spike Trains in R) package provides methods for analyzing neural spike trains simultaneously recorded from multiple neurons, with a focus on exploring the correlation between neurons.
Before installing fastr, make sure you have TMB installed following the instructions here.
To download the development version of this package, run
devtools::install_github("meixichen/fastr")
The main method in this package models the multi-neuron spike trains
within a factor analysis framework. Simply put, it assumes that the
unobserved neural dynamics
,
which determines the observed spike trains
,
can be written as
,
where
contains the independent “factors” and
is the factor loading matrix. Model fitting is carried out using the
main functionality in this package: fastr_fit()
.
More to come here.