cfi-toolkit 0.1.0__tar.gz → 0.1.1__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.
- {cfi_toolkit-0.1.0 → cfi_toolkit-0.1.1}/PKG-INFO +24 -24
- {cfi_toolkit-0.1.0 → cfi_toolkit-0.1.1}/README.md +23 -23
- {cfi_toolkit-0.1.0 → cfi_toolkit-0.1.1}/cfi_toolkit/__init__.py +1 -1
- {cfi_toolkit-0.1.0 → cfi_toolkit-0.1.1}/pyproject.toml +1 -1
- {cfi_toolkit-0.1.0 → cfi_toolkit-0.1.1}/LICENSE +0 -0
- {cfi_toolkit-0.1.0 → cfi_toolkit-0.1.1}/cfi_toolkit/CellFunctionality.py +0 -0
- {cfi_toolkit-0.1.0 → cfi_toolkit-0.1.1}/cfi_toolkit/CellGraph.py +0 -0
|
@@ -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
|
|
|
@@ -34,7 +34,7 @@ CFI extends these capabilities by enabling the identification of direct cell–c
|
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
<p align="center">
|
|
37
|
-
<img src="fig/log.png" alt="drawing" width="500" />
|
|
37
|
+
<img src="https://github.com/jkubis96/CFI/raw/refs/heads/lib_merging/fig/log.png" alt="drawing" width="500" />
|
|
38
38
|
</p>
|
|
39
39
|
|
|
40
40
|
|
|
@@ -89,7 +89,7 @@ In the case of interactions network analyses, it is recommended to use the [JVe
|
|
|
89
89
|
#### In command line write:
|
|
90
90
|
|
|
91
91
|
```
|
|
92
|
-
pip install cfi
|
|
92
|
+
pip install cfi-toolkit
|
|
93
93
|
```
|
|
94
94
|
|
|
95
95
|
|
|
@@ -117,7 +117,7 @@ Documentation for classes and functions is available here 👉 [Documentation
|
|
|
117
117
|
|
|
118
118
|
import os
|
|
119
119
|
from jdti import COMPsc # JDtI module for handling single-cell projects
|
|
120
|
-
from
|
|
120
|
+
from cfi_toolkit import CellFunCon # Cell functional connectivity / enrichment analysis
|
|
121
121
|
|
|
122
122
|
|
|
123
123
|
# ------------------------------------------------------------
|
|
@@ -229,7 +229,7 @@ data = instance.get_enrichment_data(
|
|
|
229
229
|
Visualization
|
|
230
230
|
|
|
231
231
|
```
|
|
232
|
-
from
|
|
232
|
+
from cfi_toolkit import encrichment_cell_heatmap
|
|
233
233
|
|
|
234
234
|
fig = encrichment_cell_heatmap(data = data,
|
|
235
235
|
fig_size = (3,3),
|
|
@@ -245,7 +245,7 @@ fig = encrichment_cell_heatmap(data = data,
|
|
|
245
245
|
|
|
246
246
|
|
|
247
247
|
<p align="center">
|
|
248
|
-
<img src="fig/heatmap.svg" alt="drawing" width="450" />
|
|
248
|
+
<img src="https://github.com/jkubis96/CFI/raw/refs/heads/lib_merging/fig/heatmap.svg" alt="drawing" width="450" />
|
|
249
249
|
</p>
|
|
250
250
|
|
|
251
251
|
|
|
@@ -275,7 +275,7 @@ data = instance.get_enrichment_data(
|
|
|
275
275
|
Visualization
|
|
276
276
|
|
|
277
277
|
```
|
|
278
|
-
from
|
|
278
|
+
from cfi_toolkit import encrichment_cell_heatmap
|
|
279
279
|
|
|
280
280
|
fig = encrichment_cell_heatmap(data = enr,
|
|
281
281
|
fig_size = (3,3),
|
|
@@ -291,7 +291,7 @@ fig = encrichment_cell_heatmap(data = enr,
|
|
|
291
291
|
|
|
292
292
|
|
|
293
293
|
<p align="center">
|
|
294
|
-
<img src="fig/heatmap2.svg" alt="drawing" width="450" />
|
|
294
|
+
<img src="https://github.com/jkubis96/CFI/raw/refs/heads/lib_merging/fig/heatmap2.svg" alt="drawing" width="450" />
|
|
295
295
|
</p>
|
|
296
296
|
|
|
297
297
|
|
|
@@ -305,7 +305,7 @@ fig = encrichment_cell_heatmap(data = enr,
|
|
|
305
305
|
Visualization
|
|
306
306
|
|
|
307
307
|
```
|
|
308
|
-
from
|
|
308
|
+
from cfi_toolkit import encrichment_cell_heatmap
|
|
309
309
|
|
|
310
310
|
fig2 = encrichment_cell_heatmap(data = enr,
|
|
311
311
|
fig_size = (3,3),
|
|
@@ -326,7 +326,7 @@ fig2 = encrichment_cell_heatmap(data = enr,
|
|
|
326
326
|
|
|
327
327
|
|
|
328
328
|
<p align="center">
|
|
329
|
-
<img src="fig/heatmap3.svg" alt="drawing" width="450" />
|
|
329
|
+
<img src="https://github.com/jkubis96/CFI/raw/refs/heads/lib_merging/fig/heatmap3.svg" alt="drawing" width="450" />
|
|
330
330
|
</p>
|
|
331
331
|
|
|
332
332
|
|
|
@@ -358,7 +358,7 @@ data = instance.get_enrichment_data(
|
|
|
358
358
|
Visualization
|
|
359
359
|
|
|
360
360
|
```
|
|
361
|
-
from
|
|
361
|
+
from cfi_toolkit import encrichment_cell_heatmap
|
|
362
362
|
|
|
363
363
|
fig = encrichment_cell_heatmap(data = enr,
|
|
364
364
|
fig_size = (3,3),
|
|
@@ -374,7 +374,7 @@ fig = encrichment_cell_heatmap(data = enr,
|
|
|
374
374
|
|
|
375
375
|
|
|
376
376
|
<p align="center">
|
|
377
|
-
<img src="fig/heatmap4.svg" alt="drawing" width="450" />
|
|
377
|
+
<img src="https://github.com/jkubis96/CFI/raw/refs/heads/lib_merging/fig/heatmap4.svg" alt="drawing" width="450" />
|
|
378
378
|
</p>
|
|
379
379
|
|
|
380
380
|
|
|
@@ -405,7 +405,7 @@ data = instance.get_enrichment_data(
|
|
|
405
405
|
Visualization
|
|
406
406
|
|
|
407
407
|
```
|
|
408
|
-
from
|
|
408
|
+
from cfi_toolkit import encrichment_cell_heatmap
|
|
409
409
|
|
|
410
410
|
fig = encrichment_cell_heatmap(data = enr,
|
|
411
411
|
fig_size = (3,3),
|
|
@@ -421,7 +421,7 @@ fig = encrichment_cell_heatmap(data = enr,
|
|
|
421
421
|
|
|
422
422
|
|
|
423
423
|
<p align="center">
|
|
424
|
-
<img src="fig/heatmap5.svg" alt="drawing" width="450" />
|
|
424
|
+
<img src="https://github.com/jkubis96/CFI/raw/refs/heads/lib_merging/fig/heatmap5.svg" alt="drawing" width="450" />
|
|
425
425
|
</p>
|
|
426
426
|
|
|
427
427
|
<br />
|
|
@@ -441,7 +441,7 @@ instance.get_included_cells()
|
|
|
441
441
|
```
|
|
442
442
|
|
|
443
443
|
<p align="center">
|
|
444
|
-
<img src="fig/out_cell.bmp" alt="drawing" width="450" />
|
|
444
|
+
<img src="https://github.com/jkubis96/CFI/raw/refs/heads/lib_merging/fig/out_cell.bmp" alt="drawing" width="450" />
|
|
445
445
|
</p>
|
|
446
446
|
|
|
447
447
|
|
|
@@ -467,7 +467,7 @@ cell_int = instance.get_gene_interactions('STRIATUM_1 # s1')
|
|
|
467
467
|
Visualization
|
|
468
468
|
|
|
469
469
|
```
|
|
470
|
-
from
|
|
470
|
+
from cfi_toolkit import gene_interaction_network
|
|
471
471
|
|
|
472
472
|
fig5 = gene_interaction_network(idata = cell_int, min_con = 2)
|
|
473
473
|
|
|
@@ -479,7 +479,7 @@ nt.edit()
|
|
|
479
479
|
|
|
480
480
|
|
|
481
481
|
<p align="center">
|
|
482
|
-
<img src="fig/gin.bmp" alt="drawing" width="300" />
|
|
482
|
+
<img src="https://github.com/jkubis96/CFI/raw/refs/heads/lib_merging/fig/gin.bmp" alt="drawing" width="300" />
|
|
483
483
|
</p>
|
|
484
484
|
|
|
485
485
|
<br />
|
|
@@ -523,7 +523,7 @@ cell_con = instance.get_cell_connections()
|
|
|
523
523
|
Visualization
|
|
524
524
|
|
|
525
525
|
```
|
|
526
|
-
from
|
|
526
|
+
from cfi_toolkit import draw_cell_conections
|
|
527
527
|
|
|
528
528
|
fig = draw_cell_conections(cell_con)
|
|
529
529
|
|
|
@@ -534,7 +534,7 @@ nt.edit()
|
|
|
534
534
|
```
|
|
535
535
|
|
|
536
536
|
<p align="center">
|
|
537
|
-
<img src="fig/cell_con.bmp" alt="drawing" width="300" />
|
|
537
|
+
<img src="https://github.com/jkubis96/CFI/raw/refs/heads/lib_merging/fig/cell_con.bmp" alt="drawing" width="300" />
|
|
538
538
|
</p>
|
|
539
539
|
|
|
540
540
|
<br />
|
|
@@ -554,7 +554,7 @@ instance.save_project('project')
|
|
|
554
554
|
Loading previously saved project
|
|
555
555
|
|
|
556
556
|
```
|
|
557
|
-
from
|
|
557
|
+
from cfi_toolkit import CellFunCon
|
|
558
558
|
|
|
559
559
|
instance = CellFunCon.load_project('project.psc')
|
|
560
560
|
```
|
|
@@ -573,7 +573,7 @@ instance = CellFunCon.load_project('project.psc')
|
|
|
573
573
|
# ------------------------------------------------------------
|
|
574
574
|
import os
|
|
575
575
|
from jdti import COMPsc # JDtI module for single-cell project handling
|
|
576
|
-
from
|
|
576
|
+
from cfi_toolkit import CellFunCon # Functional analysis and cell interaction inference
|
|
577
577
|
|
|
578
578
|
|
|
579
579
|
# ------------------------------------------------------------
|
|
@@ -644,7 +644,7 @@ instance2.calculate_cell_connections()
|
|
|
644
644
|
# - healthy condition
|
|
645
645
|
# - disease condition
|
|
646
646
|
|
|
647
|
-
from
|
|
647
|
+
from cfi_toolkit import compare_connections
|
|
648
648
|
|
|
649
649
|
instances_dict = {
|
|
650
650
|
"healthy": instance2,
|
|
@@ -675,7 +675,7 @@ comparison = compare_connections(instances_dict=instances_dict,
|
|
|
675
675
|
Visualization
|
|
676
676
|
|
|
677
677
|
```
|
|
678
|
-
from
|
|
678
|
+
from cfi_toolkit import volcano_plot_conections
|
|
679
679
|
|
|
680
680
|
fig = volcano_plot_conections(
|
|
681
681
|
deg_data = comparison,
|
|
@@ -692,7 +692,7 @@ fig = volcano_plot_conections(
|
|
|
692
692
|
|
|
693
693
|
|
|
694
694
|
<p align="center">
|
|
695
|
-
<img src="fig/volcano.svg" alt="drawing" width="450" />
|
|
695
|
+
<img src="https://github.com/jkubis96/CFI/raw/refs/heads/lib_merging/fig/volcano.svg" alt="drawing" width="450" />
|
|
696
696
|
</p>
|
|
697
697
|
|
|
698
698
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|