stats-n-plots

Computation and visualization of statistical analyses common in the Life sciences made easy

https://github.com/defense-circuits-lab/stats_n_plots

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.5%) to scientific vocabulary
Last synced: 7 months ago · JSON representation ·

Repository

Computation and visualization of statistical analyses common in the Life sciences made easy

Basic Info
Statistics
  • Stars: 2
  • Watchers: 0
  • Forks: 1
  • Open Issues: 2
  • Releases: 1
Created over 3 years ago · Last pushed over 3 years ago
Metadata Files
Readme Contributing License Citation

README.md

stats_n_plots

This repository is part of the DCLwidgets series. These repositories are dedicated to foster the joint development of tools and resources by the Defense Circuits Lab. The intended use of each tool may vary greatly from very lab- and/or analysis-specific problems, to tools and resources that may be of use also for other researchers. The common goal for each repository, however, is to provide the tool as an interactive, userfriendly, and intuitive GUI (usually based on ipywidgets, hence the name), such that the user needs little to no coding expertise.

List of all repositories of the DCLwidgets series:

  • stats_n_plots: A widget to computate and visualize statistical analyses common in the Life sciences (previously hosted here)
  • DCLtoNWB: A widget to convert datasets acquired in the DCL into the NWB file format
  • BSc_MS: A widget to annotate the corners of a maze within video files and save the corresponding x- and y-coordinates

About this widget

The purpose of this widget is to make everyday life in the lab a little easier, as it helps you to compute statistical tests and to create highly customizable plots that visualize your data. The widget also enables you to select exactly which statistical results you would like to annotate within the plots. This way, statistical analysis and visualization of your data is what it should be - simple & fast!

Please get in touch if you have any feedback, questions, or feature requests for us!


Installation

Using conda:

Although the stats_n_plots package itself is only available on PiPy, we yet recommend installation via conda - especially if you would like to use the GUI. Simply recreate the conda environment on your local machine by running the following command in your command line or terminal (e.g. Anaconda prompt). You can find the corresponding “environment.yml” file in the GitHub repo (here). Just make sure to place the file either in the current working directory (usually displayed at the beginning of each line in your terminal), or to provide the entire filepath (e.g. something like: “C:\Users\dsege\Downloads\environment.yml”):

With the “environment.yml” file in your current working directory:

conda env create -file environment.yml

With the “environment.yml” file in a different directory:

conda env create -file path\to\the\file\environment.yml

This will install all dependencies that are required to use stats_n_plost, including its GUI version.

> **Note** > > This installation was so far only tested on Linux (Ubuntu 20.04.4) > using conda 22.9.0
> **Note** > > If you would like to contribute to the development of `stats_n_plost` > you are more than welcome! On top of the regular user installation, > you will, however, also need to install `nbdev` in the same > environment. Simply follow all the steps above and once you have > verified that everything was installed correcty, simply run in the > same conda environment: > > > conda install -c fastai nbdev > > If you are new to `nbdev`, you´d probably also want to check out their > comprehensive tutorials and walkthroughs > [here](https://nbdev.fast.ai/tutorials/). I will also add some more > contribution guidelines to this repository soon. In the meantime, feel > free to get in touch! :-)

Using pip:

Despite the stats_n_plots package itself is only available via pypi.org, we still highly recommend to follow the installation guidelines “using conda” above, especially if you´d like to use its GUI functionalities. If you´d still want to go down this route, here´s your install command:

pip install dcl-stats-n-plots

How to use

.. the documentation, including the comprehensive tutorials, is currently being updated ..

Next steps

> **Caution** > > The repository was migrated to be now located on the recently created > [Defense-Circuits-Lab GitHub > organisation](https://github.com/orgs/Defense-Circuits-Lab/repositories) - > originally, it was created and developed > [here](https://github.com/DSegebarth/dcl_stats_n_plots). Alongside the > migration, the package was also renamed (originally: > `dcl_stats_n_plots`, now: `stats_n_plots`). > > **Importantly, development & maintenance will only continue in [this > repository](https://github.com/Defense-Circuits-Lab/stats_n_plots) on > the `stats_n_plots` package, which can be accessed from [PyPi > here](https://pypi.org/project/stats-n-plots/).**

With the main steps of the migration being completed, the next steps include:

  • Update the documentation to eventually match the “refactored” version, which actually already includes some new statistical tests compared to the old version, as well as additional functions inteded to improve usability (like exporting & importing your current plotting settings)
  • Add contribution guidelines and information

Once the steps listed above are completed, there are plenty of ideas for how to continue developing this package further:

  • integrate tests (especially with the improved CI of nbdev v2 and also once additional contributors join)
  • add additional statistical tests & plots (e.g. Kolmogorov-Smirnov test for goodness of fit for cumulative probability functions, or linear & linear mixed effect models, ..)
  • add additional customization options (optional hue column, fonts, ..)
  • improve how configs are export and imported, ideally to include all settings (type of plot, color scheme, …)
  • create DCL-default configs
  • fix bugs ;-)

Owner

  • Name: Defense Circuits Lab
  • Login: Defense-Circuits-Lab
  • Kind: organization
  • Email: tovote_p@ukw.de
  • Location: Germany

We study neuronal circuits for defensive states

Citation (CITATION.cff)

cff-version: "1.1.0"
message: "If you use this software, please cite it using these metadata."
authors: 
  - affiliation: "Systems Neurobiology, Institute of Clinical Neurobiology, University Hospital Wuerzburg, Wuerzburg, Germany"
    family-names: Segebarth
    given-names: Dennis
    orcid: "https://orcid.org/0000-0002-3806-9324"
title: "dcl_stats_n_plots"
version: "v0.1.3"
license: "Apache-2.0 License"
date-released: 2021-09-15

GitHub Events

Total
Last Year

Committers

Last synced: about 3 years ago

All Time
  • Total Commits: 131
  • Total Committers: 2
  • Avg Commits per committer: 65.5
  • Development Distribution Score (DDS): 0.229
Top Committers
Name Email Commits
DSegebarth d****h@g****m 101
DSegebarth 6****h@u****m 30

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 2
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • DSegebarth (2)
Pull Request Authors
Top Labels
Issue Labels
enhancement (1) bug (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 11 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 3
  • Total maintainers: 1
pypi.org: stats-n-plots

Computation and visualization of statistical analyses common in the Life sciences made easy

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 11 Last month
Rankings
Dependent packages count: 6.6%
Forks count: 30.5%
Dependent repos count: 30.6%
Average: 34.5%
Stargazers count: 39.1%
Downloads: 65.8%
Maintainers (1)
Last synced: 7 months ago

Dependencies

.github/workflows/deploy.yaml actions
  • fastai/workflows/quarto-ghp master composite
.github/workflows/test.yaml actions
  • fastai/workflows/nbdev-ci master composite
_proc/environment.yml conda
  • _libgcc_mutex 0.1
  • _openmp_mutex 5.1
  • anyio 3.5.0
  • argon2-cffi 21.3.0
  • argon2-cffi-bindings 21.2.0
  • asttokens 2.0.5
  • attrs 21.4.0
  • babel 2.9.1
  • backcall 0.2.0
  • blas 1.0
  • bleach 4.1.0
  • bottleneck 1.3.5
  • brotli 1.0.9
  • brotli-bin 1.0.9
  • brotlipy 0.7.0
  • bzip2 1.0.8
  • ca-certificates 2022.07.19
  • certifi 2022.6.15
  • cffi 1.15.1
  • charset-normalizer 2.0.4
  • cryptography 38.0.1
  • cycler 0.11.0
  • dbus 1.13.18
  • decorator 5.1.1
  • defusedxml 0.7.1
  • entrypoints 0.4
  • et_xmlfile 1.1.0
  • executing 0.8.3
  • expat 2.4.9
  • fftw 3.3.9
  • fontconfig 2.13.1
  • fonttools 4.25.0
  • freetype 2.11.0
  • giflib 5.2.1
  • glib 2.69.1
  • gst-plugins-base 1.14.0
  • gstreamer 1.14.0
  • icu 58.2
  • idna 3.4
  • importlib-metadata 4.11.3
  • intel-openmp 2021.4.0
  • ipykernel 5.3.4
  • ipython 8.4.0
  • ipython_genutils 0.2.0
  • ipywidgets 7.6.5
  • jedi 0.18.1
  • jinja2 3.0.3
  • joblib 1.2.0
  • jpeg 9e
  • json5 0.9.6
  • jsonschema 4.16.0
  • jupyter_client 6.1.12
  • jupyter_core 4.11.1
  • jupyter_server 1.13.5
  • jupyterlab 3.3.2
  • jupyterlab_pygments 0.1.2
  • jupyterlab_server 2.15.2
  • jupyterlab_widgets 3.0.3
  • kiwisolver 1.4.2
  • krb5 1.19.2
  • lcms2 2.12
  • ld_impl_linux-64 2.38
  • lerc 3.0
  • libbrotlicommon 1.0.9
  • libbrotlidec 1.0.9
  • libbrotlienc 1.0.9
  • libclang 10.0.1
  • libdeflate 1.8
  • libedit 3.1.20210910
  • libevent 2.1.12
  • libffi 3.3
  • libgcc-ng 11.2.0
  • libgfortran-ng 11.2.0
  • libgfortran5 11.2.0
  • libgomp 11.2.0
  • libllvm10 10.0.1
  • libpng 1.6.37
  • libpq 12.9
  • libsodium 1.0.18
  • libstdcxx-ng 11.2.0
  • libtiff 4.4.0
  • libuuid 1.0.3
  • libwebp 1.2.4
  • libwebp-base 1.2.4
  • libxcb 1.15
  • libxkbcommon 1.0.1
  • libxml2 2.9.14
  • libxslt 1.1.35
  • littleutils 0.2.2
  • lz4-c 1.9.3
  • markupsafe 2.1.1
  • matplotlib 3.5.2
  • matplotlib-base 3.5.2
  • matplotlib-inline 0.1.6
  • mistune 0.8.4
  • mkl 2021.4.0
  • mkl-service 2.4.0
  • mkl_fft 1.3.1
  • mkl_random 1.2.2
  • mpmath 1.2.1
  • munkres 1.1.4
  • nbclassic 0.3.5
  • nbconvert 5.5.0
  • nbformat 5.1.3
  • ncurses 6.3
  • notebook 6.4.5
  • nspr 4.33
  • nss 3.74
  • numexpr 2.8.3
  • numpy 1.23.3
  • numpy-base 1.23.3
  • openpyxl 3.0.10
  • openssl 1.1.1q
  • outdated 0.2.1
  • packaging 21.3
  • pandas 1.4.4
  • pandas-flavor 0.2.0
  • pandoc 2.12
  • pandocfilters 1.5.0
  • parso 0.8.3
  • patsy 0.5.3
  • pcre 8.45
  • pexpect 4.8.0
  • pickleshare 0.7.5
  • pillow 9.2.0
  • pingouin 0.5.2
  • pip 22.2.2
  • ply 3.11
  • prometheus_client 0.14.1
  • prompt-toolkit 3.0.20
  • ptyprocess 0.7.0
  • pure_eval 0.2.2
  • pycparser 2.21
  • pygments 2.11.2
  • pyopenssl 22.0.0
  • pyparsing 3.0.9
  • pyqt 5.15.7
  • pyqt5-sip 12.11.0
  • pyrsistent 0.18.0
  • pysocks 1.7.1
  • python 3.9.0
  • python-dateutil 2.8.2
  • pytz 2022.1
  • pyzmq 23.2.0
  • qt-main 5.15.2
  • qt-webengine 5.15.9
  • qtwebkit 5.212
  • readline 8.2
  • requests 2.28.1
  • scikit-learn 1.0.2
  • scipy 1.9.1
  • seaborn 0.11.2
  • send2trash 1.8.0
  • setuptools 63.4.1
  • sip 6.6.2
  • six 1.16.0
  • sniffio 1.2.0
  • sqlite 3.39.3
  • stack_data 0.2.0
  • statsmodels 0.13.2
  • tabulate 0.9.0
  • terminado 0.13.1
  • testpath 0.6.0
  • threadpoolctl 3.1.0
  • tk 8.6.12
  • toml 0.10.2
  • tornado 6.2
  • traitlets 5.1.1
  • typing-extensions 4.3.0
  • typing_extensions 4.3.0
  • tzdata 2022e
  • urllib3 1.26.12
  • wcwidth 0.2.5
  • webencodings 0.5.1
  • websocket-client 0.58.0
  • wheel 0.37.1
  • widgetsnbextension 3.5.2
  • xarray 2022.10.0
  • xlrd 2.0.1
  • xz 5.2.6
  • zeromq 4.3.4
  • zipp 3.8.0
  • zlib 1.2.13
  • zstd 1.5.2
environment.yml conda
  • _libgcc_mutex 0.1
  • _openmp_mutex 5.1
  • anyio 3.5.0
  • argon2-cffi 21.3.0
  • argon2-cffi-bindings 21.2.0
  • asttokens 2.0.5
  • attrs 21.4.0
  • babel 2.9.1
  • backcall 0.2.0
  • blas 1.0
  • bleach 4.1.0
  • bottleneck 1.3.5
  • brotli 1.0.9
  • brotli-bin 1.0.9
  • brotlipy 0.7.0
  • bzip2 1.0.8
  • ca-certificates 2022.07.19
  • certifi 2022.6.15
  • cffi 1.15.1
  • charset-normalizer 2.0.4
  • cryptography 38.0.1
  • cycler 0.11.0
  • dbus 1.13.18
  • decorator 5.1.1
  • defusedxml 0.7.1
  • entrypoints 0.4
  • et_xmlfile 1.1.0
  • executing 0.8.3
  • expat 2.4.9
  • fftw 3.3.9
  • fontconfig 2.13.1
  • fonttools 4.25.0
  • freetype 2.11.0
  • giflib 5.2.1
  • glib 2.69.1
  • gst-plugins-base 1.14.0
  • gstreamer 1.14.0
  • icu 58.2
  • idna 3.4
  • importlib-metadata 4.11.3
  • intel-openmp 2021.4.0
  • ipykernel 5.3.4
  • ipython 8.4.0
  • ipython_genutils 0.2.0
  • ipywidgets 7.6.5
  • jedi 0.18.1
  • jinja2 3.0.3
  • joblib 1.2.0
  • jpeg 9e
  • json5 0.9.6
  • jsonschema 4.16.0
  • jupyter_client 6.1.12
  • jupyter_core 4.11.1
  • jupyter_server 1.13.5
  • jupyterlab 3.3.2
  • jupyterlab_pygments 0.1.2
  • jupyterlab_server 2.15.2
  • jupyterlab_widgets 3.0.3
  • kiwisolver 1.4.2
  • krb5 1.19.2
  • lcms2 2.12
  • ld_impl_linux-64 2.38
  • lerc 3.0
  • libbrotlicommon 1.0.9
  • libbrotlidec 1.0.9
  • libbrotlienc 1.0.9
  • libclang 10.0.1
  • libdeflate 1.8
  • libedit 3.1.20210910
  • libevent 2.1.12
  • libffi 3.3
  • libgcc-ng 11.2.0
  • libgfortran-ng 11.2.0
  • libgfortran5 11.2.0
  • libgomp 11.2.0
  • libllvm10 10.0.1
  • libpng 1.6.37
  • libpq 12.9
  • libsodium 1.0.18
  • libstdcxx-ng 11.2.0
  • libtiff 4.4.0
  • libuuid 1.0.3
  • libwebp 1.2.4
  • libwebp-base 1.2.4
  • libxcb 1.15
  • libxkbcommon 1.0.1
  • libxml2 2.9.14
  • libxslt 1.1.35
  • littleutils 0.2.2
  • lz4-c 1.9.3
  • markupsafe 2.1.1
  • matplotlib 3.5.2
  • matplotlib-base 3.5.2
  • matplotlib-inline 0.1.6
  • mistune 0.8.4
  • mkl 2021.4.0
  • mkl-service 2.4.0
  • mkl_fft 1.3.1
  • mkl_random 1.2.2
  • mpmath 1.2.1
  • munkres 1.1.4
  • nbclassic 0.3.5
  • nbconvert 5.5.0
  • nbformat 5.1.3
  • ncurses 6.3
  • notebook 6.4.5
  • nspr 4.33
  • nss 3.74
  • numexpr 2.8.3
  • numpy 1.23.3
  • numpy-base 1.23.3
  • openpyxl 3.0.10
  • openssl 1.1.1q
  • outdated 0.2.1
  • packaging 21.3
  • pandas 1.4.4
  • pandas-flavor 0.2.0
  • pandoc 2.12
  • pandocfilters 1.5.0
  • parso 0.8.3
  • patsy 0.5.3
  • pcre 8.45
  • pexpect 4.8.0
  • pickleshare 0.7.5
  • pillow 9.2.0
  • pingouin 0.5.2
  • pip 22.2.2
  • ply 3.11
  • prometheus_client 0.14.1
  • prompt-toolkit 3.0.20
  • ptyprocess 0.7.0
  • pure_eval 0.2.2
  • pycparser 2.21
  • pygments 2.11.2
  • pyopenssl 22.0.0
  • pyparsing 3.0.9
  • pyqt 5.15.7
  • pyqt5-sip 12.11.0
  • pyrsistent 0.18.0
  • pysocks 1.7.1
  • python 3.9.0
  • python-dateutil 2.8.2
  • pytz 2022.1
  • pyzmq 23.2.0
  • qt-main 5.15.2
  • qt-webengine 5.15.9
  • qtwebkit 5.212
  • readline 8.2
  • requests 2.28.1
  • scikit-learn 1.0.2
  • scipy 1.9.1
  • seaborn 0.11.2
  • send2trash 1.8.0
  • setuptools 63.4.1
  • sip 6.6.2
  • six 1.16.0
  • sniffio 1.2.0
  • sqlite 3.39.3
  • stack_data 0.2.0
  • statsmodels 0.13.2
  • tabulate 0.9.0
  • terminado 0.13.1
  • testpath 0.6.0
  • threadpoolctl 3.1.0
  • tk 8.6.12
  • toml 0.10.2
  • tornado 6.2
  • traitlets 5.1.1
  • typing-extensions 4.3.0
  • typing_extensions 4.3.0
  • tzdata 2022e
  • urllib3 1.26.12
  • wcwidth 0.2.5
  • webencodings 0.5.1
  • websocket-client 0.58.0
  • wheel 0.37.1
  • widgetsnbextension 3.5.2
  • xarray 2022.10.0
  • xlrd 2.0.1
  • xz 5.2.6
  • zeromq 4.3.4
  • zipp 3.8.0
  • zlib 1.2.13
  • zstd 1.5.2