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

Metadata

Release files for miqc-py 0.0.1

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

Source distribution (sdist)

Source distribution for miqc-py 0.0.1
File Size Uploaded
miqc_py-0.0.1.tar.gz 4.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for miqc-py 0.0.1
File Interpreter ABI Platform
miqc_py-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.3 kB

Release files / miqc_py-0.0.1.tar.gz

Download URL miqc_py-0.0.1.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a3c5c245ddd05ab48e9c094e2da988a556278904d9c5048119bfaad2cb26906c
BLAKE2b-256 checksum
How to use checksums
45f73903992758cdcb4c356c58631583199fcfaf9209853dc6ffe7d0ce27fbf9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.0

Release files / miqc_py-0.0.1-py3-none-any.whl

Download URL miqc_py-0.0.1-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5915e18616a9cf023d8cfa2dc88c78429e405ad02ec4e58e60716fab1beab707
BLAKE2b-256 checksum
How to use checksums
869b4aa94864157610d9be67024f59ad58253774eb0939e26a4c03dd1a75f803
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.0

Release history Release notifications | RSS feed

This release

0.0.1 This release

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