sclab 0.1.7__tar.gz → 0.1.8__tar.gz

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.
Files changed (30) hide show
  1. {sclab-0.1.7 → sclab-0.1.8}/PKG-INFO +14 -8
  2. {sclab-0.1.7 → sclab-0.1.8}/README.md +12 -6
  3. {sclab-0.1.7 → sclab-0.1.8}/pyproject.toml +5 -2
  4. {sclab-0.1.7 → sclab-0.1.8}/src/sclab/__init__.py +1 -1
  5. {sclab-0.1.7 → sclab-0.1.8}/src/sclab/dataset/_dataset.py +1 -1
  6. {sclab-0.1.7 → sclab-0.1.8}/src/sclab/_io.py +0 -0
  7. {sclab-0.1.7 → sclab-0.1.8}/src/sclab/_sclab.py +0 -0
  8. {sclab-0.1.7 → sclab-0.1.8}/src/sclab/dataset/__init__.py +0 -0
  9. {sclab-0.1.7 → sclab-0.1.8}/src/sclab/dataset/_exceptions.py +0 -0
  10. {sclab-0.1.7 → sclab-0.1.8}/src/sclab/dataset/plotter/__init__.py +0 -0
  11. {sclab-0.1.7 → sclab-0.1.8}/src/sclab/dataset/plotter/_controls.py +0 -0
  12. {sclab-0.1.7 → sclab-0.1.8}/src/sclab/dataset/plotter/_plotter.py +0 -0
  13. {sclab-0.1.7 → sclab-0.1.8}/src/sclab/dataset/plotter/_utils.py +0 -0
  14. {sclab-0.1.7 → sclab-0.1.8}/src/sclab/dataset/processor/__init__.py +0 -0
  15. {sclab-0.1.7 → sclab-0.1.8}/src/sclab/dataset/processor/_processor.py +0 -0
  16. {sclab-0.1.7 → sclab-0.1.8}/src/sclab/dataset/processor/step/__init__.py +0 -0
  17. {sclab-0.1.7 → sclab-0.1.8}/src/sclab/dataset/processor/step/_basic_processor_step.py +0 -0
  18. {sclab-0.1.7 → sclab-0.1.8}/src/sclab/dataset/processor/step/_processor_step_base.py +0 -0
  19. {sclab-0.1.7 → sclab-0.1.8}/src/sclab/event/__init__.py +0 -0
  20. {sclab-0.1.7 → sclab-0.1.8}/src/sclab/event/_broker.py +0 -0
  21. {sclab-0.1.7 → sclab-0.1.8}/src/sclab/event/_client.py +0 -0
  22. {sclab-0.1.7 → sclab-0.1.8}/src/sclab/event/_utils.py +0 -0
  23. {sclab-0.1.7 → sclab-0.1.8}/src/sclab/examples/__init__.py +0 -0
  24. {sclab-0.1.7 → sclab-0.1.8}/src/sclab/examples/processor_steps/__init__.py +0 -0
  25. {sclab-0.1.7 → sclab-0.1.8}/src/sclab/examples/processor_steps/_cluster.py +0 -0
  26. {sclab-0.1.7 → sclab-0.1.8}/src/sclab/examples/processor_steps/_neighbors.py +0 -0
  27. {sclab-0.1.7 → sclab-0.1.8}/src/sclab/examples/processor_steps/_pca.py +0 -0
  28. {sclab-0.1.7 → sclab-0.1.8}/src/sclab/examples/processor_steps/_preprocess.py +0 -0
  29. {sclab-0.1.7 → sclab-0.1.8}/src/sclab/examples/processor_steps/_qc.py +0 -0
  30. {sclab-0.1.7 → sclab-0.1.8}/src/sclab/examples/processor_steps/_umap.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: sclab
3
- Version: 0.1.7
3
+ Version: 0.1.8
4
4
  Summary: sclab
5
5
  Author-email: Argenis Arriojas <ArriojasMaldonado001@umb.edu>
6
6
  Requires-Python: >=3.10,<3.13
@@ -16,7 +16,7 @@ Requires-Dist: ipywidgets
16
16
  Requires-Dist: itables
17
17
  Requires-Dist: numpy<2.2
18
18
  Requires-Dist: pandas
19
- Requires-Dist: plotly
19
+ Requires-Dist: plotly<6.0
20
20
  Requires-Dist: scanpy
21
21
  Requires-Dist: scikit-learn
22
22
  Requires-Dist: scikit-misc
@@ -53,23 +53,29 @@ pip install sclab
53
53
  Open a Jupyter Notebook and run the following:
54
54
 
55
55
  ```python
56
+ from IPython.display import display
56
57
  from sclab import SCLabDashboard
58
+ from sclab.examples.processor_steps import QC, Preprocess, PCA, Neighbors, UMAP, Cluster
57
59
  import scanpy as sc
58
- from IPython.display import display
59
60
 
60
61
  # Load your data
61
62
  adata = sc.read_10x_h5("your_data.h5")
62
63
 
63
64
  # Create dashboard
64
65
  dashboard = SCLabDashboard(adata, name="My Analysis")
66
+ # Add desired processing steps to the interface
67
+ dashboard.pr.add_steps({"Processing": [QC, Preprocess, PCA, Neighbors, UMAP, Cluster]})
65
68
 
66
69
  # Display dashboard
67
70
  display(dashboard)
68
71
 
69
72
  # The dashboard provides easy access to components:
70
- dashboard.ds # Dataset (wrapper for AnnData)
71
- dashboard.pl # Plotter
72
- dashboard.pr # Processor
73
+ # dashboard.ds # Dataset (wrapper for AnnData)
74
+ # dashboard.pl # Plotter
75
+ # dashboard.pr # Processor
76
+
77
+ # the resulting AnnData object is found within the dataset object:
78
+ # dashboard.ds.adata
73
79
  ```
74
80
 
75
81
  ## Components
@@ -129,10 +135,10 @@ This project is licensed under the BSD 3-Clause License - see the [LICENSE](LICE
129
135
  If you use SCLab in your research, please cite:
130
136
 
131
137
  ```bibtex
132
- @software{sclab2024,
138
+ @software{sclab2025,
133
139
  author = {Arriojas, Argenis},
134
140
  title = {SCLab: Interactive Single-Cell Analysis Toolkit},
135
- year = {2024},
141
+ year = {2025},
136
142
  publisher = {GitHub},
137
143
  url = {https://github.com/umbibio/sclab}
138
144
  }
@@ -22,23 +22,29 @@ pip install sclab
22
22
  Open a Jupyter Notebook and run the following:
23
23
 
24
24
  ```python
25
+ from IPython.display import display
25
26
  from sclab import SCLabDashboard
27
+ from sclab.examples.processor_steps import QC, Preprocess, PCA, Neighbors, UMAP, Cluster
26
28
  import scanpy as sc
27
- from IPython.display import display
28
29
 
29
30
  # Load your data
30
31
  adata = sc.read_10x_h5("your_data.h5")
31
32
 
32
33
  # Create dashboard
33
34
  dashboard = SCLabDashboard(adata, name="My Analysis")
35
+ # Add desired processing steps to the interface
36
+ dashboard.pr.add_steps({"Processing": [QC, Preprocess, PCA, Neighbors, UMAP, Cluster]})
34
37
 
35
38
  # Display dashboard
36
39
  display(dashboard)
37
40
 
38
41
  # The dashboard provides easy access to components:
39
- dashboard.ds # Dataset (wrapper for AnnData)
40
- dashboard.pl # Plotter
41
- dashboard.pr # Processor
42
+ # dashboard.ds # Dataset (wrapper for AnnData)
43
+ # dashboard.pl # Plotter
44
+ # dashboard.pr # Processor
45
+
46
+ # the resulting AnnData object is found within the dataset object:
47
+ # dashboard.ds.adata
42
48
  ```
43
49
 
44
50
  ## Components
@@ -98,10 +104,10 @@ This project is licensed under the BSD 3-Clause License - see the [LICENSE](LICE
98
104
  If you use SCLab in your research, please cite:
99
105
 
100
106
  ```bibtex
101
- @software{sclab2024,
107
+ @software{sclab2025,
102
108
  author = {Arriojas, Argenis},
103
109
  title = {SCLab: Interactive Single-Cell Analysis Toolkit},
104
- year = {2024},
110
+ year = {2025},
105
111
  publisher = {GitHub},
106
112
  url = {https://github.com/umbibio/sclab}
107
113
  }
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "sclab"
3
- version = "0.1.7"
3
+ version = "0.1.8"
4
4
  description = "sclab"
5
5
  readme = "README.md"
6
6
  authors = [
@@ -21,7 +21,7 @@ dependencies = [
21
21
  "itables",
22
22
  "numpy<2.2",
23
23
  "pandas",
24
- "plotly",
24
+ "plotly<6.0",
25
25
  "scanpy",
26
26
  "scikit-learn",
27
27
  "scikit-misc",
@@ -53,4 +53,7 @@ dev = [
53
53
  "ruff>=0.9.4",
54
54
  "nox>=2024.1.29",
55
55
  "pytest>=8.3.4",
56
+ "mkdocs>=1.6.1",
57
+ "mkdocs-material>=9.6.3",
58
+ "mkdocs-jupyter>=0.25.1",
56
59
  ]
@@ -4,4 +4,4 @@ __all__ = [
4
4
  "SCLabDashboard",
5
5
  ]
6
6
 
7
- __version__ = "0.1.7"
7
+ __version__ = "0.1.8"
@@ -336,7 +336,7 @@ class SCLabDataset(EventClient):
336
336
  self.broker.publish("dset_selected_rows_change", value)
337
337
 
338
338
  @property
339
- def selected_rows_mask(self) -> NDArray[np.bool]:
339
+ def selected_rows_mask(self) -> NDArray[np.bool_]:
340
340
  return self.metadata.index.isin(self.selected_rows)
341
341
 
342
342
  @property
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes