Skip to main content

Simple statistical and visualisation tool for neuroimaging genetics studies

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nimagen-0.0.3.tar.gz (45.9 kB view details)

Uploaded Source

Built Distribution

nimagen-0.0.3-py3-none-any.whl (46.8 kB view details)

Uploaded Python 3

File details

Details for the file nimagen-0.0.3.tar.gz.

File metadata

  • Download URL: nimagen-0.0.3.tar.gz
  • Upload date:
  • Size: 45.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for nimagen-0.0.3.tar.gz
Algorithm Hash digest
SHA256 b589e0ae5eb1ae7df015003b08db37af4436bf30cd58b3e6b740fc8e29d4ebd0
MD5 367a5d05e1e97ee9627ba9a689cadee7
BLAKE2b-256 94e28efeb2a8e9085105db9e0d7fccb8aa48f9f321854d6a611b07921322017e

See more details on using hashes here.

File details

Details for the file nimagen-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: nimagen-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 46.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for nimagen-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 481e55b644d8cf73aa62b22cd328cd2a46c50f87fcf3d6cc0941df5de76af250
MD5 67839381f8cffcf49fe6361a83b8dc47
BLAKE2b-256 f7097f5055a107a6768f4079a63d7c2eb50fc05dd038361c2c0f0e63ffb9bcea

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page