Skip to main content

Simple package for quantitative genetic analysis.

Project description

quangpy: a python package for quantitative genetics analysis

quangpy mainly provides Joint Scale Analysis and Variance Decomposition Analysis.

Installation

pip install quangpy

Getting Started

input data format

The input file should be separated by tab and provide the following columns in the same order:

  • population: population name
  • mean: mean of the population phenotype
  • var: variance of the population phenotype

The following is an example of the input data format:

mean var
b1l 7.5 0.010000
b1s 5.575 0.004096
f1 5.5 0.007396
f2 6.595 0.013924
p1 9.125 0.008281
p2 5.475 0.003249

Joint Scale Analysis

from quangpy import JointScale

input_data = "/path/to/input/data"

js = JointScale(input_data)
js.fit(("m", "a"))

Variance Decomposition Analysis

from quangpy import VarianceDecomposition

input_data = "/path/to/input/data"
vd = VarianceDecomposition(input_data)
vd.fit(("m", "a", "d", "aa", "dd"))

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

quangpy-0.1.4.tar.gz (33.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quangpy-0.1.4-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file quangpy-0.1.4.tar.gz.

File metadata

  • Download URL: quangpy-0.1.4.tar.gz
  • Upload date:
  • Size: 33.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for quangpy-0.1.4.tar.gz
Algorithm Hash digest
SHA256 554803a11680d324202fce02dd81e46eeda0bd8bebec287d19bc20adb5858e1c
MD5 ba4d8ce6737a2f3b5dbdaea0ead883cb
BLAKE2b-256 c334eaf2cffbde4faa08ed3a6a08b36563468396bc0c171851953109f0f534f8

See more details on using hashes here.

Provenance

The following attestation bundles were made for quangpy-0.1.4.tar.gz:

Publisher: publish.yml on r1cheu/quangpy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file quangpy-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: quangpy-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for quangpy-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 703ea54d571f3a417abc3ae33c94427256329a4f9c33c7f687e7aebb51185855
MD5 4d0d35616ca8547cfa342b641310a81d
BLAKE2b-256 5c29c75e54c1eda84ad608cd108d84228c56341e4429d539b31c377d0def75ed

See more details on using hashes here.

Provenance

The following attestation bundles were made for quangpy-0.1.4-py3-none-any.whl:

Publisher: publish.yml on r1cheu/quangpy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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