cfi-toolkit 0.1.0__py3-none-any.whl → 0.1.1__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.
- cfi_toolkit/__init__.py +1 -1
- {cfi_toolkit-0.1.0.dist-info → cfi_toolkit-0.1.1.dist-info}/METADATA +24 -24
- cfi_toolkit-0.1.1.dist-info/RECORD +7 -0
- cfi_toolkit-0.1.0.dist-info/RECORD +0 -7
- {cfi_toolkit-0.1.0.dist-info → cfi_toolkit-0.1.1.dist-info}/WHEEL +0 -0
- {cfi_toolkit-0.1.0.dist-info → cfi_toolkit-0.1.1.dist-info}/licenses/LICENSE +0 -0
cfi_toolkit/__init__.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cfi-toolkit
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: CFI: Cell Functionality and Interaction Analysis Tool
|
|
5
5
|
License: GPL-3
|
|
6
6
|
License-File: LICENSE
|
|
@@ -56,7 +56,7 @@ CFI extends these capabilities by enabling the identification of direct cell–c
|
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
<p align="center">
|
|
59
|
-
<img src="fig/log.png" alt="drawing" width="500" />
|
|
59
|
+
<img src="https://github.com/jkubis96/CFI/raw/refs/heads/lib_merging/fig/log.png" alt="drawing" width="500" />
|
|
60
60
|
</p>
|
|
61
61
|
|
|
62
62
|
|
|
@@ -111,7 +111,7 @@ In the case of interactions network analyses, it is recommended to use the [JVe
|
|
|
111
111
|
#### In command line write:
|
|
112
112
|
|
|
113
113
|
```
|
|
114
|
-
pip install cfi
|
|
114
|
+
pip install cfi-toolkit
|
|
115
115
|
```
|
|
116
116
|
|
|
117
117
|
|
|
@@ -139,7 +139,7 @@ Documentation for classes and functions is available here 👉 [Documentation
|
|
|
139
139
|
|
|
140
140
|
import os
|
|
141
141
|
from jdti import COMPsc # JDtI module for handling single-cell projects
|
|
142
|
-
from
|
|
142
|
+
from cfi_toolkit import CellFunCon # Cell functional connectivity / enrichment analysis
|
|
143
143
|
|
|
144
144
|
|
|
145
145
|
# ------------------------------------------------------------
|
|
@@ -251,7 +251,7 @@ data = instance.get_enrichment_data(
|
|
|
251
251
|
Visualization
|
|
252
252
|
|
|
253
253
|
```
|
|
254
|
-
from
|
|
254
|
+
from cfi_toolkit import encrichment_cell_heatmap
|
|
255
255
|
|
|
256
256
|
fig = encrichment_cell_heatmap(data = data,
|
|
257
257
|
fig_size = (3,3),
|
|
@@ -267,7 +267,7 @@ fig = encrichment_cell_heatmap(data = data,
|
|
|
267
267
|
|
|
268
268
|
|
|
269
269
|
<p align="center">
|
|
270
|
-
<img src="fig/heatmap.svg" alt="drawing" width="450" />
|
|
270
|
+
<img src="https://github.com/jkubis96/CFI/raw/refs/heads/lib_merging/fig/heatmap.svg" alt="drawing" width="450" />
|
|
271
271
|
</p>
|
|
272
272
|
|
|
273
273
|
|
|
@@ -297,7 +297,7 @@ data = instance.get_enrichment_data(
|
|
|
297
297
|
Visualization
|
|
298
298
|
|
|
299
299
|
```
|
|
300
|
-
from
|
|
300
|
+
from cfi_toolkit import encrichment_cell_heatmap
|
|
301
301
|
|
|
302
302
|
fig = encrichment_cell_heatmap(data = enr,
|
|
303
303
|
fig_size = (3,3),
|
|
@@ -313,7 +313,7 @@ fig = encrichment_cell_heatmap(data = enr,
|
|
|
313
313
|
|
|
314
314
|
|
|
315
315
|
<p align="center">
|
|
316
|
-
<img src="fig/heatmap2.svg" alt="drawing" width="450" />
|
|
316
|
+
<img src="https://github.com/jkubis96/CFI/raw/refs/heads/lib_merging/fig/heatmap2.svg" alt="drawing" width="450" />
|
|
317
317
|
</p>
|
|
318
318
|
|
|
319
319
|
|
|
@@ -327,7 +327,7 @@ fig = encrichment_cell_heatmap(data = enr,
|
|
|
327
327
|
Visualization
|
|
328
328
|
|
|
329
329
|
```
|
|
330
|
-
from
|
|
330
|
+
from cfi_toolkit import encrichment_cell_heatmap
|
|
331
331
|
|
|
332
332
|
fig2 = encrichment_cell_heatmap(data = enr,
|
|
333
333
|
fig_size = (3,3),
|
|
@@ -348,7 +348,7 @@ fig2 = encrichment_cell_heatmap(data = enr,
|
|
|
348
348
|
|
|
349
349
|
|
|
350
350
|
<p align="center">
|
|
351
|
-
<img src="fig/heatmap3.svg" alt="drawing" width="450" />
|
|
351
|
+
<img src="https://github.com/jkubis96/CFI/raw/refs/heads/lib_merging/fig/heatmap3.svg" alt="drawing" width="450" />
|
|
352
352
|
</p>
|
|
353
353
|
|
|
354
354
|
|
|
@@ -380,7 +380,7 @@ data = instance.get_enrichment_data(
|
|
|
380
380
|
Visualization
|
|
381
381
|
|
|
382
382
|
```
|
|
383
|
-
from
|
|
383
|
+
from cfi_toolkit import encrichment_cell_heatmap
|
|
384
384
|
|
|
385
385
|
fig = encrichment_cell_heatmap(data = enr,
|
|
386
386
|
fig_size = (3,3),
|
|
@@ -396,7 +396,7 @@ fig = encrichment_cell_heatmap(data = enr,
|
|
|
396
396
|
|
|
397
397
|
|
|
398
398
|
<p align="center">
|
|
399
|
-
<img src="fig/heatmap4.svg" alt="drawing" width="450" />
|
|
399
|
+
<img src="https://github.com/jkubis96/CFI/raw/refs/heads/lib_merging/fig/heatmap4.svg" alt="drawing" width="450" />
|
|
400
400
|
</p>
|
|
401
401
|
|
|
402
402
|
|
|
@@ -427,7 +427,7 @@ data = instance.get_enrichment_data(
|
|
|
427
427
|
Visualization
|
|
428
428
|
|
|
429
429
|
```
|
|
430
|
-
from
|
|
430
|
+
from cfi_toolkit import encrichment_cell_heatmap
|
|
431
431
|
|
|
432
432
|
fig = encrichment_cell_heatmap(data = enr,
|
|
433
433
|
fig_size = (3,3),
|
|
@@ -443,7 +443,7 @@ fig = encrichment_cell_heatmap(data = enr,
|
|
|
443
443
|
|
|
444
444
|
|
|
445
445
|
<p align="center">
|
|
446
|
-
<img src="fig/heatmap5.svg" alt="drawing" width="450" />
|
|
446
|
+
<img src="https://github.com/jkubis96/CFI/raw/refs/heads/lib_merging/fig/heatmap5.svg" alt="drawing" width="450" />
|
|
447
447
|
</p>
|
|
448
448
|
|
|
449
449
|
<br />
|
|
@@ -463,7 +463,7 @@ instance.get_included_cells()
|
|
|
463
463
|
```
|
|
464
464
|
|
|
465
465
|
<p align="center">
|
|
466
|
-
<img src="fig/out_cell.bmp" alt="drawing" width="450" />
|
|
466
|
+
<img src="https://github.com/jkubis96/CFI/raw/refs/heads/lib_merging/fig/out_cell.bmp" alt="drawing" width="450" />
|
|
467
467
|
</p>
|
|
468
468
|
|
|
469
469
|
|
|
@@ -489,7 +489,7 @@ cell_int = instance.get_gene_interactions('STRIATUM_1 # s1')
|
|
|
489
489
|
Visualization
|
|
490
490
|
|
|
491
491
|
```
|
|
492
|
-
from
|
|
492
|
+
from cfi_toolkit import gene_interaction_network
|
|
493
493
|
|
|
494
494
|
fig5 = gene_interaction_network(idata = cell_int, min_con = 2)
|
|
495
495
|
|
|
@@ -501,7 +501,7 @@ nt.edit()
|
|
|
501
501
|
|
|
502
502
|
|
|
503
503
|
<p align="center">
|
|
504
|
-
<img src="fig/gin.bmp" alt="drawing" width="300" />
|
|
504
|
+
<img src="https://github.com/jkubis96/CFI/raw/refs/heads/lib_merging/fig/gin.bmp" alt="drawing" width="300" />
|
|
505
505
|
</p>
|
|
506
506
|
|
|
507
507
|
<br />
|
|
@@ -545,7 +545,7 @@ cell_con = instance.get_cell_connections()
|
|
|
545
545
|
Visualization
|
|
546
546
|
|
|
547
547
|
```
|
|
548
|
-
from
|
|
548
|
+
from cfi_toolkit import draw_cell_conections
|
|
549
549
|
|
|
550
550
|
fig = draw_cell_conections(cell_con)
|
|
551
551
|
|
|
@@ -556,7 +556,7 @@ nt.edit()
|
|
|
556
556
|
```
|
|
557
557
|
|
|
558
558
|
<p align="center">
|
|
559
|
-
<img src="fig/cell_con.bmp" alt="drawing" width="300" />
|
|
559
|
+
<img src="https://github.com/jkubis96/CFI/raw/refs/heads/lib_merging/fig/cell_con.bmp" alt="drawing" width="300" />
|
|
560
560
|
</p>
|
|
561
561
|
|
|
562
562
|
<br />
|
|
@@ -576,7 +576,7 @@ instance.save_project('project')
|
|
|
576
576
|
Loading previously saved project
|
|
577
577
|
|
|
578
578
|
```
|
|
579
|
-
from
|
|
579
|
+
from cfi_toolkit import CellFunCon
|
|
580
580
|
|
|
581
581
|
instance = CellFunCon.load_project('project.psc')
|
|
582
582
|
```
|
|
@@ -595,7 +595,7 @@ instance = CellFunCon.load_project('project.psc')
|
|
|
595
595
|
# ------------------------------------------------------------
|
|
596
596
|
import os
|
|
597
597
|
from jdti import COMPsc # JDtI module for single-cell project handling
|
|
598
|
-
from
|
|
598
|
+
from cfi_toolkit import CellFunCon # Functional analysis and cell interaction inference
|
|
599
599
|
|
|
600
600
|
|
|
601
601
|
# ------------------------------------------------------------
|
|
@@ -666,7 +666,7 @@ instance2.calculate_cell_connections()
|
|
|
666
666
|
# - healthy condition
|
|
667
667
|
# - disease condition
|
|
668
668
|
|
|
669
|
-
from
|
|
669
|
+
from cfi_toolkit import compare_connections
|
|
670
670
|
|
|
671
671
|
instances_dict = {
|
|
672
672
|
"healthy": instance2,
|
|
@@ -697,7 +697,7 @@ comparison = compare_connections(instances_dict=instances_dict,
|
|
|
697
697
|
Visualization
|
|
698
698
|
|
|
699
699
|
```
|
|
700
|
-
from
|
|
700
|
+
from cfi_toolkit import volcano_plot_conections
|
|
701
701
|
|
|
702
702
|
fig = volcano_plot_conections(
|
|
703
703
|
deg_data = comparison,
|
|
@@ -714,7 +714,7 @@ fig = volcano_plot_conections(
|
|
|
714
714
|
|
|
715
715
|
|
|
716
716
|
<p align="center">
|
|
717
|
-
<img src="fig/volcano.svg" alt="drawing" width="450" />
|
|
717
|
+
<img src="https://github.com/jkubis96/CFI/raw/refs/heads/lib_merging/fig/volcano.svg" alt="drawing" width="450" />
|
|
718
718
|
</p>
|
|
719
719
|
|
|
720
720
|
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
cfi_toolkit/__init__.py,sha256=5h8Pwnc6Wn0mXt0IQ3Szq6CgbG2W0jn8SPFxlbjf5uE,670
|
|
2
|
+
cfi_toolkit/CellFunctionality.py,sha256=7co-vJOZNSfRTFXp0TyCH7RHU6Xja4whTlKOhy3aX84,21846
|
|
3
|
+
cfi_toolkit/CellGraph.py,sha256=5prcmuyf1eQDEmVc8Dagn6mTRKCtj9vWSLc7rOcBiF0,21046
|
|
4
|
+
cfi_toolkit-0.1.1.dist-info/licenses/LICENSE,sha256=wwaTIeM5p1TYEKRnyL3ROkzDvoyNRr9VtroNBHjNQeo,35802
|
|
5
|
+
cfi_toolkit-0.1.1.dist-info/METADATA,sha256=-jHdJ8KmxrgUZNKnJFUj2_mmAXrOZ2Mr6y56ejdVzZA,27199
|
|
6
|
+
cfi_toolkit-0.1.1.dist-info/WHEEL,sha256=kJCRJT_g0adfAJzTx2GUMmS80rTJIVHRCfG0DQgLq3o,88
|
|
7
|
+
cfi_toolkit-0.1.1.dist-info/RECORD,,
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
cfi_toolkit/__init__.py,sha256=bPRm6fA7FuJ9JI6wd23mlsWj4ChzdoQ1vEIS9HW3Ubk,670
|
|
2
|
-
cfi_toolkit/CellFunctionality.py,sha256=7co-vJOZNSfRTFXp0TyCH7RHU6Xja4whTlKOhy3aX84,21846
|
|
3
|
-
cfi_toolkit/CellGraph.py,sha256=5prcmuyf1eQDEmVc8Dagn6mTRKCtj9vWSLc7rOcBiF0,21046
|
|
4
|
-
cfi_toolkit-0.1.0.dist-info/licenses/LICENSE,sha256=wwaTIeM5p1TYEKRnyL3ROkzDvoyNRr9VtroNBHjNQeo,35802
|
|
5
|
-
cfi_toolkit-0.1.0.dist-info/METADATA,sha256=aBCo9qd3SA5tsZiQXgLmYDMZOHQCfk45FVrfFG1jpZg,26505
|
|
6
|
-
cfi_toolkit-0.1.0.dist-info/WHEEL,sha256=kJCRJT_g0adfAJzTx2GUMmS80rTJIVHRCfG0DQgLq3o,88
|
|
7
|
-
cfi_toolkit-0.1.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|