Data and code for "Robust effects of corticothalamic feedback and behavioral state on movie responses in mouse dLGN"

Laura Busse ca9bd4716e Add information for publishing with DataCite il y a 2 ans
R fd9ef83f69 Clarify R/README.md a little il y a 2 ans
csv 8869a8f70a Minor formatting update of README.md files il y a 2 ans
pickles e15e47543b Update README.md, add /csv, /pickles and /stats README.md files il y a 2 ans
stats 99a7b04813 Add missing R output fig3S1j .csv file il y a 2 ans
.gitignore 7e2eec8c90 Add .gitignore il y a 2 ans
LICENSE 2bf386a9ff Initial upload il y a 2 ans
README.md 52f8f4784b Update eLife DOI il y a 2 ans
datacite.yml ca9bd4716e Add information for publishing with DataCite il y a 2 ans
fig1.py 08505455c2 Clean up irrelevant comments & code blocks, fix .csv filenames il y a 2 ans
fig1S33S1.py 08505455c2 Clean up irrelevant comments & code blocks, fix .csv filenames il y a 2 ans
fig1S4.py 1c15e1f2f2 Initial commit copied over from natfeedback_code 2022-02-07 rev 9eabb0 il y a 2 ans
fig1S5.py 1c15e1f2f2 Initial commit copied over from natfeedback_code 2022-02-07 rev 9eabb0 il y a 2 ans
fig1S6.py a1becb1549 fig1S6: restore missing insig pupil diam mseus .csv file il y a 2 ans
fig2.py 08505455c2 Clean up irrelevant comments & code blocks, fix .csv filenames il y a 2 ans
fig3.py 08505455c2 Clean up irrelevant comments & code blocks, fix .csv filenames il y a 2 ans
fig4.py 08505455c2 Clean up irrelevant comments & code blocks, fix .csv filenames il y a 2 ans
fig4S1.py 08505455c2 Clean up irrelevant comments & code blocks, fix .csv filenames il y a 2 ans
fig5.py 08505455c2 Clean up irrelevant comments & code blocks, fix .csv filenames il y a 2 ans
fig5S2.py 08505455c2 Clean up irrelevant comments & code blocks, fix .csv filenames il y a 2 ans
fig6.py 08505455c2 Clean up irrelevant comments & code blocks, fix .csv filenames il y a 2 ans
ipos.py 08505455c2 Clean up irrelevant comments & code blocks, fix .csv filenames il y a 2 ans
main.py 65d9bbdbf2 Add note that not all pickle files apply to any given EXPTYPE il y a 2 ans
util.py 08505455c2 Clean up irrelevant comments & code blocks, fix .csv filenames il y a 2 ans

README.md

Data and code for Spacek et. al., 2022, "Robust effects of corticothalamic feedback and behavioral state on movie responses in mouse dLGN", published in eLife.

https://doi.org/10.7554/eLife.70469

Use main.py to load data for all LGN opto experiments as a function of stimulus type (movies, gratings), run state, and opto state. Data are loaded from pandas DataFrames, which are saved as Python pickles in the pickles folder.

Run main.py at the IPython command line, or in Jupyter; the -i runs scripts in IPython/Jupyter's namespace instead of an empty one:

run -i main.py

pvmvis (default) or ntsrmvis can be provided as an --exptype= argument to this main.py, to load and then plot PV-Cre (most of the paper) or Ntsr1-Cre (Fig S4) data, respectively.

Results can be plotted by executing the desired figx.py file in the same namespace:

run -i fig1.py
run -i fig2.py
run -i fig3.py
run -i fig4.py
run -i fig5.py
run -i fig6.py

Not all supplementary panels/figures have their own script, some are integrated into their parent figure's script for convenience:

run -i fig1S33S1.py
run -i fig1S4.py
run -i fig1S5.py
run -i fig1S6.py
run -i fig4S1.py
run -i fig5S2.py
run -i ipos.py

Note that depending on your system, you may have to call plt.show() to actually display figure windows after running one or more of the above scripts. Use cf() to quickly close all figures.

datacite.yml
Title Robust effects of corticothalamic feedback and behavioral state on movie responses in mouse dLGN
Authors Spacek,Martin;LMU Munich;0000-0002-9519-3284
Crombie,Davide;LMU Munich;0000-0003-3424-3249
Bauer,Yannik;LMU Munich;0000-0003-2613-6443
Born,Gergory;LMU Munich;0000-0003-0430-3052
Liu,Xinyu;LMU Munich;0000-0002-3527-6168
Katzner,Steffen;LMU Munich;0000-0002-4424-2197
Busse,Laura;LMU Munich;0000-0002-6127-7754
Description Data and Python code for regenerating plots in Spacek et. al., 2022, published in eLife (https://doi.org/10.7554/eLife.70469). Use `main.py` to load data for all LGN optogenetic experiments as a function of stimulus type (movies, gratings), run state, and opto state. Data are loaded from pandas DataFrames, which are saved as Python pickles. Statistics are computed using the included R code.
License Creative Commons CC0 1.0 Public Domain Dedication (https://creativecommons.org/publicdomain/zero/1.0/)
References Spacek, M. A., Crombie, D., Bauer, Y., Born, G., Liu, X., Katzner, S., Busse, L. Robust effects of corticothalamic feedback and behavioral state on movie responses in mouse dLGN. eLife 11:e70469 (2022) [doi:10.7554/eLife.70469] (IsSupplementTo)
Funding DFG, SFB 1233 TP 13, project number 276693517
DFG, SFB 870 TP 19, project number 118803580
DFG, BU 1808/5-1
Joachim Herz Stiftung (Joachim Herz Foundation)
Keywords lateral geniculate nucleus
corticothalamic feedback
naturalistic movies
locomotion
pupil dilation
firing mode
Resource Type Dataset