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)
| File | Size | Uploaded | |
|---|---|---|---|
| miqc_py-0.0.1.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|