Skip to main content

NIMAGEN: Statistical and Visualisation tool for NeuroIMAging GENetics studies

See the online documentation for detailed walkthrough of some of the package tools.

Quick install

  1. pip install lehai-ml/nimagen
  2. conda install -c lehai-ml nimagen

Main functions of nimagen is to

  1. Perform mass linear regression tests and subsequent stability tests.
  2. Visualise significant results and plot them on brain maps
  3. Visualse gene-set based analyses results

Cite

If using this package, please cite the following paper

Le H, Dimitrakopoulou K, Patel H, Curtis C, Cordero-Grande L, Edwards AD, Hajnal J, Tournier JD, Deprez M, Cullen H. Effect of schizophrenia common variants on infant brain volumes: cross-sectional study in 207 term neonates in developing Human Connectome Project. Transl Psychiatry. 2023 Apr 10;13(1):121. doi: 10.1038/s41398-023-02413-6. PMID: 37037832; PMCID: PMC10085987.

Example of a plot created with nimagen

Example map of brain regions with accompanying legend

Figure 1. Example map of brain regions with accompanying legend

Example regression multiple-plot Figure 2. Example regression multiple-plot

Version update

  • 0.0.2 - 20 March 2023 - Revamped stats module to use patsy format instead.
  • 0.0.1 - First version

Things to improve

  • genes.py - fix the bed_reader.to_bed, currently, the val and properties dict do not match up.
  • genes.py - update the calculate snp associations, so that it can take in categorical data without dummy variables.

Release files for nimagen 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nimagen 0.0.3
File Size Uploaded
nimagen-0.0.3.tar.gz 45.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nimagen 0.0.3
File Interpreter ABI Platform
nimagen-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 92.7 kB

Release files / nimagen-0.0.3.tar.gz

Download URL nimagen-0.0.3.tar.gz
Size 45.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b589e0ae5eb1ae7df015003b08db37af4436bf30cd58b3e6b740fc8e29d4ebd0
BLAKE2b-256 checksum
How to use checksums
94e28efeb2a8e9085105db9e0d7fccb8aa48f9f321854d6a611b07921322017e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.12

Release files / nimagen-0.0.3-py3-none-any.whl

Download URL nimagen-0.0.3-py3-none-any.whl
Size 46.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
481e55b644d8cf73aa62b22cd328cd2a46c50f87fcf3d6cc0941df5de76af250
BLAKE2b-256 checksum
How to use checksums
f7097f5055a107a6768f4079a63d7c2eb50fc05dd038361c2c0f0e63ffb9bcea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.12

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page