Git Product home page Git Product logo

dandi-example-live-scripts-000207's Introduction

dandi-example-live-scripts-000207

image image

Contributors Stargazers Issues MIT License

Last updated: 31 March 2023

Purpose and Project Goals

This is the repository for the MATLAB Community Toolbox Training Project dandi-example-live-scripts-000207. Supported by incf, this MatNWB data storytelling project replicated a subset of the figures found in the Zheng et al. (2022) manuscript using the Neurodata Without Borders (NWB) files available within the DANDI open source dataset ID:00027. Narrative text was added in the core live script to provide scientific context, motivation about the publication, and the specific results reproduced.

Description of data utilized and code created

The code to convert the NWB data was created with the MatNWB interface library to read and write NWB files with MATLAB. This code was used to analyze human single-neuron data that has determined the important role of cognitive boundaries in episodic memory formation.

Requirements

  1. MatNWB interface library
  2. Dataset from one subject obtained from DANDI. The subject file used in this script is sub-1_ses-1_ecephys+image.nwb found here.

User Guide

The following files are included in this repository to reproduce several subpanels of Figure 3 from the accompanying manuscript.

  • Core live script DANDI_000207_liveScript.mlx
    • Use this live script to execute the code that allows for the reproduction of several figure subpanels with a conceptual discussion and explanation of the authors' chosen methodology.
  • Live functions called within the core live script to reproduce key figure subpanels
    • Figure 3a: fig3a_reproduction.mlx
    • Figure 3c: fig3c_reproduction.mlx
    • Figure 3i: fig3i_reproduction.mlx
    • Figure 3j: fig3j_reproduction.mlx
  • Helper functions called within the core live script and/or live functions
    • Locate spikes within each cluster for the selected cell: nwb_read_unit.m
    • Plot lines with shaded error/confidence: boundedline.m

Project Author

Marielle Darwin

dandi-example-live-scripts-000207's People

Contributors

mldarwin avatar

Stargazers

Ueli Rutishauser avatar John avatar

Watchers

John avatar  avatar

Forkers

neuropil

dandi-example-live-scripts-000207's Issues

comments on code

image

I usually just hard-code paths in these kinds of situations.

image

Why not just assign to e.g. `basepathData` to begin with instead of assigning to `basePath.Data` and then `basepathData`? Seems like unnecessary lines of code to me.

image

I generally use
addpath(genpath(basePathNWBCode))

image

I would use controls for these inputs here and later on line 50

image


image

Indenting is off, and str2num should be str2double

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.