sclab 0.1.7__py3-none-any.whl → 0.1.8__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.

Potentially problematic release.


This version of sclab might be problematic. Click here for more details.

sclab/__init__.py CHANGED
@@ -4,4 +4,4 @@ __all__ = [
4
4
  "SCLabDashboard",
5
5
  ]
6
6
 
7
- __version__ = "0.1.7"
7
+ __version__ = "0.1.8"
sclab/dataset/_dataset.py CHANGED
@@ -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
@@ -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
  }
@@ -1,8 +1,8 @@
1
- sclab/__init__.py,sha256=0RUdbuZt9XoQgNmLnMCR4-LYIXnwXUgNyuLEL1Gu9Ms,95
1
+ sclab/__init__.py,sha256=zrh5eCnp4YNbD2Y1-vTwnl4_9MIGLJ0HRsTZKI4inrM,95
2
2
  sclab/_io.py,sha256=mVazSViXfKpfY1iUNZXgQc1hutu6MXTaGZXF4rcqKLE,875
3
3
  sclab/_sclab.py,sha256=Eln0nWlnFpnDabW94UK8qOdxIys9FWSyqsm8lvlnk4A,2156
4
4
  sclab/dataset/__init__.py,sha256=f9PoXIMAPnC3Var1ODr3mXkotW6u6NRPQvlgcWYXk54,143
5
- sclab/dataset/_dataset.py,sha256=51E8iwiUFxFBvka8EsCuZrc-nfNxHcB4iEAy_Ja5qPg,14409
5
+ sclab/dataset/_dataset.py,sha256=rYzYxsUdlzaLYpvrvgxWuMxbM47_GjvCLAmHehUxhIc,14410
6
6
  sclab/dataset/_exceptions.py,sha256=g8RJL8PiRmD4--PkOs5CZth_qeaduvieMlKJNkrUIYA,45
7
7
  sclab/dataset/plotter/__init__.py,sha256=pdWhAywnoc1_nnIcD-qNW0U364-yo4k5DwP79y9NVgA,129
8
8
  sclab/dataset/plotter/_controls.py,sha256=NBDdtY1wQbIEvE_WToigR5bEEoi3z30_67T_dLSOSIo,20295
@@ -25,6 +25,6 @@ sclab/examples/processor_steps/_pca.py,sha256=XKEau9MtHr0LBDFTc9Y3QUQRv5fvNyKT8K
25
25
  sclab/examples/processor_steps/_preprocess.py,sha256=ftuWt9asef_a5OU195UazfI34MjA82nE1LWTPjhXPPY,6340
26
26
  sclab/examples/processor_steps/_qc.py,sha256=VPiyY7o7YM8v6hetjxrSfnrn_fJhuC5EzeMi1bSUsw0,3242
27
27
  sclab/examples/processor_steps/_umap.py,sha256=Geyme_biIHxGE7zD8dsECUfQy31ff-w1BrAN55BW5Ug,1406
28
- sclab-0.1.7.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
29
- sclab-0.1.7.dist-info/METADATA,sha256=UTX_EmyQXRn0F2r69fnTKwju9H3PnMExTN08LuTfCkI,3767
30
- sclab-0.1.7.dist-info/RECORD,,
28
+ sclab-0.1.8.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
29
+ sclab-0.1.8.dist-info/METADATA,sha256=_vCAnf3Q-CTe-Q9oXPbf7X_vUQbYYqb2dP9tkmTlokc,4091
30
+ sclab-0.1.8.dist-info/RECORD,,
File without changes