Skip to main content

miqc-py

Python implementation of miQC (paper).

Installation

pip install miqc_py

Usage

Usage follows the scverse API conventions. Parameter names follow the R implementation of miQC.

import miqc_py

# ...

miqc_py.calculate_miqc(adata)
miqc_py.filter_cells(adata)

Plotting

Optionally, we can plot the results with altair (not a dependency of miqc_py - may need to install first).

import altair as alt

alt.Chart(adata.obs).mark_circle().encode(
    x="total_genes_by_counts:Q",
    y="pct_counts_mito:Q",
    color="prob_compromised:Q"
)

Development

conda env create -f environment.yml
conda activate miqc-py
jupyter lab

Download files

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

Source Distribution

miqc_py-0.0.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

miqc_py-0.0.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file miqc_py-0.0.1.tar.gz.

File metadata

  • Download URL: miqc_py-0.0.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.0

File hashes

Hashes for miqc_py-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a3c5c245ddd05ab48e9c094e2da988a556278904d9c5048119bfaad2cb26906c
MD5 02c086500bf39d068b3f49b60c73592c
BLAKE2b-256 45f73903992758cdcb4c356c58631583199fcfaf9209853dc6ffe7d0ce27fbf9

See more details on using hashes here.

File details

Details for the file miqc_py-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: miqc_py-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.0

File hashes

Hashes for miqc_py-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5915e18616a9cf023d8cfa2dc88c78429e405ad02ec4e58e60716fab1beab707
MD5 d3aef734daf280f02c6e0576fc3e0103
BLAKE2b-256 869b4aa94864157610d9be67024f59ad58253774eb0939e26a4c03dd1a75f803

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 files

Supported by

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