Skip to main content

An implementation of the Gaussian multi-Graphical Model

Project description

GmGM-python

A python package for the GmGM algorithm. Read the pre-print here.

This is a very early version so the API is subject to change.

Installation

# Pip
python -m pip install GmGM

Conda install coming soon.

About

This package learns a graphical representation of every "axis" of your data. For example, if you had a paired scRNA+scATAC multi-omics dataset, then your axes would be "genes" (columns of scRNA matrix), "axes" (columns of scATAC matrix), and "cells" (rows of both matrices).

This package works on any dataset that can be expressed as multiple tensors of arbitrary length (so multi-omics, videos, etc...). The only restriction is that no tensor can have the same axis twice (no "genes x genes" matrix); the same axis can appear multiple times, as long as it only appears once per matrix.

Usage

The first step is to express your dataset as a "Dataset" object.

Roadmap

  • Add direct support for AnnData and MuData objects (so that converson to Dataset is not needed)
  • Stabilize API
  • Add comprehensive docs
  • Have generate_data directly generate Dataset objects
  • Add conda distribution
  • Add example notebook

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

gmgm-0.0.4.tar.gz (749.0 kB view details)

Uploaded Source

Built Distribution

gmgm-0.0.4-py3-none-any.whl (29.8 kB view details)

Uploaded Python 3

File details

Details for the file gmgm-0.0.4.tar.gz.

File metadata

  • Download URL: gmgm-0.0.4.tar.gz
  • Upload date:
  • Size: 749.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.0

File hashes

Hashes for gmgm-0.0.4.tar.gz
Algorithm Hash digest
SHA256 4c93ba4e1baa1fec52723b5a5e86c2c443bee7824c99d9ad30d5b1ca63e35244
MD5 b3777aeca8f422d092fd653175feafb4
BLAKE2b-256 e071f1590a6190663b8343922e24c7fad06ee763989a4ff471c9c9c602229c87

See more details on using hashes here.

File details

Details for the file gmgm-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: gmgm-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 29.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.0

File hashes

Hashes for gmgm-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3c7380e9314d978906d6d137c020cf1d3a05e8359e4204ebd50c358dd8cd806b
MD5 69e19aeda143438463e40c243384adea
BLAKE2b-256 baa61e5b7e239224e02dc18db6e22e0b2ea719ee506c8317d8d2b5916b956fc9

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