zmap-tools 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- zmap/__init__.py +36 -0
- zmap/dotplot/__init__.py +26 -0
- zmap/dotplot/dotplot_gene.py +1760 -0
- zmap/dotplot/dotplot_group.py +2524 -0
- zmap/predict/__init__.py +35 -0
- zmap/predict/predict.py +2409 -0
- zmap/reference/__init__.py +16 -0
- zmap/reference/load_h5ad.py +408 -0
- zmap/reference/markers.py +366 -0
- zmap_tools-0.1.0.dist-info/METADATA +188 -0
- zmap_tools-0.1.0.dist-info/RECORD +14 -0
- zmap_tools-0.1.0.dist-info/WHEEL +5 -0
- zmap_tools-0.1.0.dist-info/licenses/LICENSE +29 -0
- zmap_tools-0.1.0.dist-info/top_level.txt +1 -0
zmap/__init__.py
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
zmap-tools — Python API for the Zebrafish Multi-Atlas Project (ZMAP).
|
|
5
|
+
|
|
6
|
+
A curated single-cell RNA-seq reference atlas for zebrafish development,
|
|
7
|
+
with tools for reference loading, label transfer, and visualization.
|
|
8
|
+
|
|
9
|
+
Submodules
|
|
10
|
+
----------
|
|
11
|
+
reference (aliased as ref)
|
|
12
|
+
Download, cache, and load ZMAP reference H5ADs and consensus markers.
|
|
13
|
+
predict
|
|
14
|
+
kNN-based label transfer from the ZMAP reference to query datasets.
|
|
15
|
+
dotplot
|
|
16
|
+
Publication-ready dotplot visualization of gene expression patterns.
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
from importlib.metadata import PackageNotFoundError, version as _version
|
|
20
|
+
|
|
21
|
+
# Package version (from the PyPI/dist name)
|
|
22
|
+
try:
|
|
23
|
+
__version__ = _version("zmap-tools")
|
|
24
|
+
except PackageNotFoundError:
|
|
25
|
+
__version__ = "0.0.0"
|
|
26
|
+
|
|
27
|
+
# Import subpackages as attributes
|
|
28
|
+
from . import reference # zmap.reference
|
|
29
|
+
from . import dotplot # zmap.dotplot
|
|
30
|
+
from . import predict # zmap.predict
|
|
31
|
+
|
|
32
|
+
# Scanpy-style aliases:
|
|
33
|
+
ref = reference
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
__all__ = ["__version__", "ref", "dotplot", "predict"]
|
zmap/dotplot/__init__.py
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Dotplot visualization for ZMAP reference data.
|
|
5
|
+
|
|
6
|
+
Provides gene-centric dotplots (expression across cell types × timepoints
|
|
7
|
+
and studies) and group-centric dotplots (marker genes for a focal cell type
|
|
8
|
+
compared to its siblings and tissues).
|
|
9
|
+
|
|
10
|
+
Convenience aliases:
|
|
11
|
+
|
|
12
|
+
- ``gene_view`` → :func:`gene_groups_vs_time_and_studies`
|
|
13
|
+
- ``group_view`` → :func:`group_siblings_vs_markers`
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
from .dotplot_gene import gene_groups_vs_time_and_studies
|
|
17
|
+
from .dotplot_group import group_siblings_vs_markers, group_descendants_vs_markers
|
|
18
|
+
|
|
19
|
+
gene_view = gene_groups_vs_time_and_studies
|
|
20
|
+
group_view = group_siblings_vs_markers
|
|
21
|
+
|
|
22
|
+
__all__ = ["gene_groups_vs_time_and_studies",
|
|
23
|
+
"group_siblings_vs_markers",
|
|
24
|
+
"group_descendants_vs_markers",
|
|
25
|
+
"gene_view",
|
|
26
|
+
"group_view"]
|