Skip to content

Code for Functional Mixed Models for Fiber Photometry

Notifications You must be signed in to change notification settings

gloewing/photometry_FLMM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

photometry_FLMM

Code to reproduce analyses and figures from the manuscript: "A Statistical Framework for Analysis of Trial-Level Temporal Dynamics in Fiber Photometry Experiments"

fastFMM R Package

For more information see the fastFMM R package repo: https://github.com/gloewing/fastFMM

Installation

Download the $\texttt{R}$ Package fastFMM by running the following command within $\texttt{R}$ or $\texttt{RStudio}$:

install.packages("fastFMM", dependencies = TRUE)

Package Usage

For the usage and a tutorial on package functions, please refer to fastFMM's Vignette.

Photometry Analysis Guide

See the Tutorials folder above for the datasets and Rmarkdown files used to generate the above guides.

Calling fastFMM from Python

See 'python_fastFMM_vignette.py' in the Tutorials folder for a brief example of using fastFMM on Python through the Python package rpy2. We are working on more documentation. The tutorial assumes the fastFMM R package (and all its dependenices), and the rpy2 Python package have already been installed. Even if you intend to use the package purely within Python, it may be helpful to first install fastFMM from within RStudio to ensure all package dependenices are installed automatically.

About

Code for Functional Mixed Models for Fiber Photometry

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published