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

@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: sclab
3
- Version: 0.1.7
3
+ Version: 0.2.2
4
4
  Summary: sclab
5
5
  Author-email: Argenis Arriojas <ArriojasMaldonado001@umb.edu>
6
6
  Requires-Python: >=3.10,<3.13
@@ -10,23 +10,28 @@ Classifier: Programming Language :: Python :: 3
10
10
  Classifier: Programming Language :: Python :: 3.10
11
11
  Classifier: Programming Language :: Python :: 3.11
12
12
  Classifier: Programming Language :: Python :: 3.12
13
+ License-File: LICENSE
13
14
  Requires-Dist: anndata
14
15
  Requires-Dist: anywidget
15
16
  Requires-Dist: ipywidgets
16
17
  Requires-Dist: itables
17
18
  Requires-Dist: numpy<2.2
18
19
  Requires-Dist: pandas
19
- Requires-Dist: plotly
20
- Requires-Dist: scanpy
20
+ Requires-Dist: plotly<6.0
21
+ Requires-Dist: requests>=2.32.3
21
22
  Requires-Dist: scikit-learn
22
- Requires-Dist: scikit-misc
23
23
  Requires-Dist: svgpathtools
24
+ Requires-Dist: tqdm>=4.67.1
25
+ Requires-Dist: jupyterlab>=4.3.6 ; extra == "jupyter"
26
+ Requires-Dist: scanpy[leiden, skmisc]>=1.10 ; extra == "scanpy"
24
27
  Requires-Dist: pytest>=8.3.4 ; extra == "test"
25
28
  Project-URL: Bug Tracker, https://github.com/umbibio/sclab/issues
26
29
  Project-URL: Changelog, https://github.com/umbibio/sclab/blob/main/CHANGELOG.md
27
30
  Project-URL: Documentation, https://github.com/umbibio/sclab/docs
28
31
  Project-URL: Homepage, https://github.com/umbibio/sclab
29
32
  Project-URL: Repository, https://github.com/umbibio/sclab.git
33
+ Provides-Extra: jupyter
34
+ Provides-Extra: scanpy
30
35
  Provides-Extra: test
31
36
 
32
37
  # SCLab
@@ -53,23 +58,29 @@ pip install sclab
53
58
  Open a Jupyter Notebook and run the following:
54
59
 
55
60
  ```python
61
+ from IPython.display import display
56
62
  from sclab import SCLabDashboard
63
+ from sclab.examples.processor_steps import QC, Preprocess, PCA, Neighbors, UMAP, Cluster
57
64
  import scanpy as sc
58
- from IPython.display import display
59
65
 
60
66
  # Load your data
61
67
  adata = sc.read_10x_h5("your_data.h5")
62
68
 
63
69
  # Create dashboard
64
70
  dashboard = SCLabDashboard(adata, name="My Analysis")
71
+ # Add desired processing steps to the interface
72
+ dashboard.pr.add_steps({"Processing": [QC, Preprocess, PCA, Neighbors, UMAP, Cluster]})
65
73
 
66
74
  # Display dashboard
67
75
  display(dashboard)
68
76
 
69
77
  # The dashboard provides easy access to components:
70
- dashboard.ds # Dataset (wrapper for AnnData)
71
- dashboard.pl # Plotter
72
- dashboard.pr # Processor
78
+ # dashboard.ds # Dataset (wrapper for AnnData)
79
+ # dashboard.pl # Plotter
80
+ # dashboard.pr # Processor
81
+
82
+ # the resulting AnnData object is found within the dataset object:
83
+ # dashboard.ds.adata
73
84
  ```
74
85
 
75
86
  ## Components
@@ -129,10 +140,10 @@ This project is licensed under the BSD 3-Clause License - see the [LICENSE](LICE
129
140
  If you use SCLab in your research, please cite:
130
141
 
131
142
  ```bibtex
132
- @software{sclab2024,
143
+ @software{sclab2025,
133
144
  author = {Arriojas, Argenis},
134
145
  title = {SCLab: Interactive Single-Cell Analysis Toolkit},
135
- year = {2024},
146
+ year = {2025},
136
147
  publisher = {GitHub},
137
148
  url = {https://github.com/umbibio/sclab}
138
149
  }
@@ -0,0 +1,42 @@
1
+ sclab/__init__.py,sha256=UaTIrqZIaNx_mwX7RPdk93mDBq1fkZaElCiMA-bvBIM,132
2
+ sclab/_io.py,sha256=21EHrUvYV8WFRbBcdeuWXbApUIITHaXbqgDI8lqQgHo,2852
3
+ sclab/_methods_registry.py,sha256=RcffyRuuLzHqsnAdbBL4W1GmZx80d9AxdGjUnx1mbNg,1704
4
+ sclab/_sclab.py,sha256=Fq-GrhapzziTzJgkpPjdjYtjeQpBeXWYVUbPY6axg-A,8688
5
+ sclab/dataset/__init__.py,sha256=f9PoXIMAPnC3Var1ODr3mXkotW6u6NRPQvlgcWYXk54,143
6
+ sclab/dataset/_dataset.py,sha256=dJeiEfo-f6eM866-d53H6FUF9IR-OK4vwDojSq_og0Q,14248
7
+ sclab/dataset/_exceptions.py,sha256=g8RJL8PiRmD4--PkOs5CZth_qeaduvieMlKJNkrUIYA,45
8
+ sclab/dataset/plotter/__init__.py,sha256=pdWhAywnoc1_nnIcD-qNW0U364-yo4k5DwP79y9NVgA,129
9
+ sclab/dataset/plotter/_controls.py,sha256=NBDdtY1wQbIEvE_WToigR5bEEoi3z30_67T_dLSOSIo,20295
10
+ sclab/dataset/plotter/_plotter.py,sha256=EXwk6KSM7FOyLLJ8HCgIB_2m730t0kHsVKWfQOxL6kA,37023
11
+ sclab/dataset/plotter/_utils.py,sha256=ANm_R9PJd33-QJtZzqXCN5pJ_XrJ7AA4AvSHaDRbOMA,11595
12
+ sclab/dataset/processor/__init__.py,sha256=v8Qbusb6h8oSndv9q-12vzHrz5BDF3N2LCkQG9KC19I,104
13
+ sclab/dataset/processor/_processor.py,sha256=H8smeuHPnJVToSxEgGNHUpyNwKYqP-Itp5jMVIgnjbc,41104
14
+ sclab/dataset/processor/_results_panel.py,sha256=p2xmHgoYfpkPXj-SjRGTmAPAwL1VC8I70iFD_o-90AE,2342
15
+ sclab/dataset/processor/step/__init__.py,sha256=j8j4oU9NMdWHn6kVjft7Klm6xme8M6wzebxJj_zNehg,179
16
+ sclab/dataset/processor/step/_basic_processor_step.py,sha256=7NKC4W-I_EU3QBPi5BL9-NwAF_h6_oWl1l_kEk6gSAg,3640
17
+ sclab/dataset/processor/step/_processor_step_base.py,sha256=DpbL4F53W1YPI_xHuQ0T3gcvDGwwKG2Xp-n8DkMUf90,4133
18
+ sclab/event/__init__.py,sha256=unkfpmoxitPVZvWcc9YhkUwcXODdcd9cw_toVXVIDMU,126
19
+ sclab/event/_broker.py,sha256=W4GgoBhJS1LxGQv8TYFg71o5jUQPO8BDLrKzahDUyEM,7121
20
+ sclab/event/_client.py,sha256=Kx7pza-CzLySR0JBBneiZQAjtllUnjWKNKSfw3K2ZQE,2362
21
+ sclab/event/_utils.py,sha256=LehiFhn7dopNEaTFERJhs6fiVgXCBvseRxWTSWc6u-k,456
22
+ sclab/examples/__init__.py,sha256=uSu4DMfF2K7xlZbLC_CmANyS3D56khGLMSVt6x9XXiI,68
23
+ sclab/examples/processor_steps/__init__.py,sha256=KhbgN0-WrIhpgDZhWJOHr2Vxo0FB1ZBvM2bJK2Mjdmg,372
24
+ sclab/examples/processor_steps/_cluster.py,sha256=olbri3HWPBU8p__r9kP9tgWaJoUJ2bK48pmHfdvf11c,1120
25
+ sclab/examples/processor_steps/_differential_expression.py,sha256=uEToPiACCgo42oZidAw5DFgWVcDnChWzVRlVzn53K34,11567
26
+ sclab/examples/processor_steps/_neighbors.py,sha256=sEhLuuY-dCdwzqIarHpFVgM4tE1bW9Qa18xHOWA84Bk,2206
27
+ sclab/examples/processor_steps/_pca.py,sha256=vit15FqHhWC-VSLSViduFt9V7dwakVvdnDOHxzJHiw0,4585
28
+ sclab/examples/processor_steps/_preprocess.py,sha256=ffg8Vh-rSJPna08__xOlizu65QBBkRPinslnKRaRjbk,6336
29
+ sclab/examples/processor_steps/_qc.py,sha256=KPWKxytu5YLXQ42uXe3ARKE36jqj5uidLhtyR-_TVBY,3238
30
+ sclab/examples/processor_steps/_umap.py,sha256=Mzxj4LiZfh3WT5lS_BO_lTleC5jMoUm5_km_gvzU_I8,1402
31
+ sclab/methods/__init__.py,sha256=FMxCemY8-TFHl-BUR6NNDUyOGAAGEhysIlXkSBQXV8g,646
32
+ sclab/scanpy/_compat.py,sha256=VEdW4lWLtKmgLSrikRnfvYOz9EOa7e_iDt4Q88X9JKQ,2109
33
+ sclab/scanpy/_settings.py,sha256=UVcJExVHsf_nvyZ5kTrBHPkddHCz7ARCzqAdZAM_A5E,16736
34
+ sclab/scanpy/logging.py,sha256=VwSPeKjpXeopdcgEAlWDz2Wv4IGAAUv8GyMNpMART-0,8453
35
+ sclab/scanpy/readwrite.py,sha256=yixHonShUZ2Ms3Sv3UXw_VXlY00XDApvmyN2mZWFAcs,37025
36
+ sclab/scanpy/plotting/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
37
+ sclab/scanpy/plotting/_rcmod.py,sha256=pc53dasHh2RFfTHVTbTb8v1z8vW032zjvum-WQLgjXA,1970
38
+ sclab/scanpy/plotting/palettes.py,sha256=zHTM_CVfKazb32YreRx0-INllFssZP5rY_B7JTeaBhA,4782
39
+ sclab-0.2.2.dist-info/licenses/LICENSE,sha256=LO7qldZoHIo9hc-HMBqclBh5800kZ9US9xTbLAQdHpg,1523
40
+ sclab-0.2.2.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
41
+ sclab-0.2.2.dist-info/METADATA,sha256=GciGoDxIh9rPs3KVDs8EQqGq3fP_HfSxQxH4zBOuYVg,4289
42
+ sclab-0.2.2.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: flit 3.10.1
2
+ Generator: flit 3.12.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
@@ -0,0 +1,29 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2025 Argenis Arriojas
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are met:
8
+
9
+ 1. Redistributions of source code must retain the above copyright notice, this
10
+ list of conditions and the following disclaimer.
11
+
12
+ 2. Redistributions in binary form must reproduce the above copyright notice,
13
+ this list of conditions and the following disclaimer in the documentation
14
+ and/or other materials provided with the distribution.
15
+
16
+ 3. Neither the name of the copyright holder nor the names of its
17
+ contributors may be used to endorse or promote products derived from
18
+ this software without specific prior written permission.
19
+
20
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -1,30 +0,0 @@
1
- sclab/__init__.py,sha256=0RUdbuZt9XoQgNmLnMCR4-LYIXnwXUgNyuLEL1Gu9Ms,95
2
- sclab/_io.py,sha256=mVazSViXfKpfY1iUNZXgQc1hutu6MXTaGZXF4rcqKLE,875
3
- sclab/_sclab.py,sha256=Eln0nWlnFpnDabW94UK8qOdxIys9FWSyqsm8lvlnk4A,2156
4
- sclab/dataset/__init__.py,sha256=f9PoXIMAPnC3Var1ODr3mXkotW6u6NRPQvlgcWYXk54,143
5
- sclab/dataset/_dataset.py,sha256=51E8iwiUFxFBvka8EsCuZrc-nfNxHcB4iEAy_Ja5qPg,14409
6
- sclab/dataset/_exceptions.py,sha256=g8RJL8PiRmD4--PkOs5CZth_qeaduvieMlKJNkrUIYA,45
7
- sclab/dataset/plotter/__init__.py,sha256=pdWhAywnoc1_nnIcD-qNW0U364-yo4k5DwP79y9NVgA,129
8
- sclab/dataset/plotter/_controls.py,sha256=NBDdtY1wQbIEvE_WToigR5bEEoi3z30_67T_dLSOSIo,20295
9
- sclab/dataset/plotter/_plotter.py,sha256=EXwk6KSM7FOyLLJ8HCgIB_2m730t0kHsVKWfQOxL6kA,37023
10
- sclab/dataset/plotter/_utils.py,sha256=ANm_R9PJd33-QJtZzqXCN5pJ_XrJ7AA4AvSHaDRbOMA,11595
11
- sclab/dataset/processor/__init__.py,sha256=v8Qbusb6h8oSndv9q-12vzHrz5BDF3N2LCkQG9KC19I,104
12
- sclab/dataset/processor/_processor.py,sha256=bvDdjcZDD7ighP-wvmebh4Tuc_-HyFT9KP8bFOB4POY,40811
13
- sclab/dataset/processor/step/__init__.py,sha256=j8j4oU9NMdWHn6kVjft7Klm6xme8M6wzebxJj_zNehg,179
14
- sclab/dataset/processor/step/_basic_processor_step.py,sha256=7NKC4W-I_EU3QBPi5BL9-NwAF_h6_oWl1l_kEk6gSAg,3640
15
- sclab/dataset/processor/step/_processor_step_base.py,sha256=Yk8nCDu4atk-txJcEEC6kravzP6FDBjcrdh6kNyZjdM,3909
16
- sclab/event/__init__.py,sha256=unkfpmoxitPVZvWcc9YhkUwcXODdcd9cw_toVXVIDMU,126
17
- sclab/event/_broker.py,sha256=W4GgoBhJS1LxGQv8TYFg71o5jUQPO8BDLrKzahDUyEM,7121
18
- sclab/event/_client.py,sha256=Kx7pza-CzLySR0JBBneiZQAjtllUnjWKNKSfw3K2ZQE,2362
19
- sclab/event/_utils.py,sha256=LehiFhn7dopNEaTFERJhs6fiVgXCBvseRxWTSWc6u-k,456
20
- sclab/examples/__init__.py,sha256=uSu4DMfF2K7xlZbLC_CmANyS3D56khGLMSVt6x9XXiI,68
21
- sclab/examples/processor_steps/__init__.py,sha256=tm2YWKIkBPcBoHp4VS78tLyQX44Y7zUj2dgzFH058DA,279
22
- sclab/examples/processor_steps/_cluster.py,sha256=fXI8J_ae8ZXjckmCff3WfwSa9HTdQmEDYQ3vTilmV9k,1124
23
- sclab/examples/processor_steps/_neighbors.py,sha256=-FxRBi5Uaywrn2fXnlgmwtQrTefPPdnfOuI6RhKw314,2210
24
- sclab/examples/processor_steps/_pca.py,sha256=XKEau9MtHr0LBDFTc9Y3QUQRv5fvNyKT8KeFujepypc,4589
25
- sclab/examples/processor_steps/_preprocess.py,sha256=ftuWt9asef_a5OU195UazfI34MjA82nE1LWTPjhXPPY,6340
26
- sclab/examples/processor_steps/_qc.py,sha256=VPiyY7o7YM8v6hetjxrSfnrn_fJhuC5EzeMi1bSUsw0,3242
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,,