pycrosstalker 0.1.0__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.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 CostaLab
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,99 @@
1
+ Metadata-Version: 2.3
2
+ Name: pycrosstalker
3
+ Version: 0.1.0
4
+ Summary:
5
+ License: MIT
6
+ Author: jsnagai
7
+ Author-email: james.nagai@gmail.com
8
+ Requires-Python: >=3.10,<4.0
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: 3.10
12
+ Classifier: Programming Language :: Python :: 3.11
13
+ Classifier: Programming Language :: Python :: 3.12
14
+ Classifier: Programming Language :: Python :: 3.13
15
+ Requires-Dist: adjustText (>=1.2.0,<2.0.0)
16
+ Requires-Dist: attrs (>=25.3.0,<26.0.0)
17
+ Requires-Dist: gprofiler-official (==1.0.0)
18
+ Requires-Dist: igraph (>=0.11.6,<0.12.0)
19
+ Requires-Dist: matplotlib (>=3.9.1.post1,<4.0.0)
20
+ Requires-Dist: networkx (>=3.3,<4.0)
21
+ Requires-Dist: numpy (>=1.24,<2.0)
22
+ Requires-Dist: pandas (>=2.2.2,<3.0.0)
23
+ Requires-Dist: plotly (>=6.0.1,<7.0.0)
24
+ Requires-Dist: plotnine (>=0.13.6,<0.14.0)
25
+ Requires-Dist: sankeyflow (>=0.4.1,<0.5.0)
26
+ Requires-Dist: scikit-learn (>=1.5.1,<2.0.0)
27
+ Requires-Dist: seaborn (>=0.13.2,<0.14.0)
28
+ Requires-Dist: tqdm (>=4.66.5,<5.0.0)
29
+ Description-Content-Type: text/markdown
30
+
31
+ # pyCrossTalkeR
32
+
33
+ <img src="https://github.com/CostaLab/pyCrossTalkeR/blob/main/logo1.png" align="right" width="200" />
34
+
35
+ James S. Nagai<sup>1</sup>,
36
+ Nils B. Leimkühler<sup>2</sup>,
37
+ Michael T. Schaub <sup>3</sup>,
38
+ Rebekka K. Schneider<sup>4,5,6</sup>,
39
+ Ivan G. Costa<sup>1*</sup>
40
+
41
+ <sup>1</sup>Institute for Computational Genomics, Faculty of Medicine, RWTH Aachen University, Aachen, 52074 Germany
42
+
43
+ <sup>2</sup>Department of Hematology and Stem Cell Transplantation, University Hospital Essen, Germany
44
+
45
+ <sup>3</sup>Department of Computer Science, RWTH Aachen University, Germany
46
+
47
+ <sup>4</sup>Department of Cell Biology, Institute for Biomedical Engineering, Faculty of Medicine,RWTH Aachen University, Pauwelsstrasse 30, 52074 Aachen, NRW, Germany
48
+
49
+ <sup>5</sup>Oncode Institute, Erasmus Medical Center, Rotterdam, 3015GD, the Netherlands
50
+
51
+ <sup>6</sup>Department of Hematology, Erasmus Medical Center, Rotterdam, 3015GD, the Netherlands
52
+
53
+ ![Alt text](image.png)
54
+
55
+ **Motivation:** Ligand-receptor (LR) analysis allows the characterization of cellular crosstalk from single cell RNA-seq data. However, current LR methods provide limited approaches for prioritization of cell types, ligands or receptors or characterizing changes in crosstalk between two biological conditions.
56
+
57
+ **Results:** pyCrossTalkeR is a framework for network analysis and visualisation of LR networks. pyCrossTalkeR identifies relevant ligands, receptors and cell types contributing to changes in cell communication when contrasting two biological states: disease vs. homeostasis. A case study on scRNA-seq of human myeloproliferative neoplasms reinforces the strengths of pyCrossTalkeR for characterisation of changes in cellular crosstalk in disease state.
58
+
59
+ ## Install
60
+
61
+ You can install pyCrossTalkeR with the simple commands below:
62
+
63
+ ```{python}
64
+ pip install git+https://github.com/CostaLab/pyCrossTalkeR/
65
+ ```
66
+
67
+ *Note: Please avoid to use the following characters in celltype name: '$'*
68
+
69
+ ## Possible system dependencies
70
+
71
+ ```
72
+ libudunits2-dev
73
+ libgdal-dev
74
+ gdal-bin
75
+ libproj-dev
76
+ proj-data
77
+ proj-bin
78
+ libgeos-dev
79
+ ```
80
+
81
+
82
+ ## Features v0.0.1
83
+
84
+ - Single and Comparative Reports
85
+ - Cell Cell Interaction visualization
86
+ - Sending and Receiving Cells Ranking
87
+ - CCI and GCI PCA ranking
88
+ - All measures and PC table
89
+ - PC1 and PC2 based barplot
90
+ - LR pair visualization plot can be done
91
+
92
+
93
+ # References
94
+
95
+ [1] CrossTalkeR: Analysis and Visualisation of Ligand Receptor Networks [link](https://doi.org/10.1093/bioinformatics/btab370)
96
+
97
+ [2] Heterogeneous bone-marrow stromal progenitors drive myelofibrosis via a druggable alarmin axis. [link](https://www.cell.com/cell-stem-cell/fulltext/S1934-5909(20)30542-7#secsectitle0115)
98
+
99
+ [3] Comparison of Resources and Methods to infer Cell-Cell Communication from Single-cell RNA Data [link](https://www.biorxiv.org/content/10.1101/2021.05.21.445160v1.full)
@@ -0,0 +1,69 @@
1
+ # pyCrossTalkeR
2
+
3
+ <img src="https://github.com/CostaLab/pyCrossTalkeR/blob/main/logo1.png" align="right" width="200" />
4
+
5
+ James S. Nagai<sup>1</sup>,
6
+ Nils B. Leimkühler<sup>2</sup>,
7
+ Michael T. Schaub <sup>3</sup>,
8
+ Rebekka K. Schneider<sup>4,5,6</sup>,
9
+ Ivan G. Costa<sup>1*</sup>
10
+
11
+ <sup>1</sup>Institute for Computational Genomics, Faculty of Medicine, RWTH Aachen University, Aachen, 52074 Germany
12
+
13
+ <sup>2</sup>Department of Hematology and Stem Cell Transplantation, University Hospital Essen, Germany
14
+
15
+ <sup>3</sup>Department of Computer Science, RWTH Aachen University, Germany
16
+
17
+ <sup>4</sup>Department of Cell Biology, Institute for Biomedical Engineering, Faculty of Medicine,RWTH Aachen University, Pauwelsstrasse 30, 52074 Aachen, NRW, Germany
18
+
19
+ <sup>5</sup>Oncode Institute, Erasmus Medical Center, Rotterdam, 3015GD, the Netherlands
20
+
21
+ <sup>6</sup>Department of Hematology, Erasmus Medical Center, Rotterdam, 3015GD, the Netherlands
22
+
23
+ ![Alt text](image.png)
24
+
25
+ **Motivation:** Ligand-receptor (LR) analysis allows the characterization of cellular crosstalk from single cell RNA-seq data. However, current LR methods provide limited approaches for prioritization of cell types, ligands or receptors or characterizing changes in crosstalk between two biological conditions.
26
+
27
+ **Results:** pyCrossTalkeR is a framework for network analysis and visualisation of LR networks. pyCrossTalkeR identifies relevant ligands, receptors and cell types contributing to changes in cell communication when contrasting two biological states: disease vs. homeostasis. A case study on scRNA-seq of human myeloproliferative neoplasms reinforces the strengths of pyCrossTalkeR for characterisation of changes in cellular crosstalk in disease state.
28
+
29
+ ## Install
30
+
31
+ You can install pyCrossTalkeR with the simple commands below:
32
+
33
+ ```{python}
34
+ pip install git+https://github.com/CostaLab/pyCrossTalkeR/
35
+ ```
36
+
37
+ *Note: Please avoid to use the following characters in celltype name: '$'*
38
+
39
+ ## Possible system dependencies
40
+
41
+ ```
42
+ libudunits2-dev
43
+ libgdal-dev
44
+ gdal-bin
45
+ libproj-dev
46
+ proj-data
47
+ proj-bin
48
+ libgeos-dev
49
+ ```
50
+
51
+
52
+ ## Features v0.0.1
53
+
54
+ - Single and Comparative Reports
55
+ - Cell Cell Interaction visualization
56
+ - Sending and Receiving Cells Ranking
57
+ - CCI and GCI PCA ranking
58
+ - All measures and PC table
59
+ - PC1 and PC2 based barplot
60
+ - LR pair visualization plot can be done
61
+
62
+
63
+ # References
64
+
65
+ [1] CrossTalkeR: Analysis and Visualisation of Ligand Receptor Networks [link](https://doi.org/10.1093/bioinformatics/btab370)
66
+
67
+ [2] Heterogeneous bone-marrow stromal progenitors drive myelofibrosis via a druggable alarmin axis. [link](https://www.cell.com/cell-stem-cell/fulltext/S1934-5909(20)30542-7#secsectitle0115)
68
+
69
+ [3] Comparison of Resources and Methods to infer Cell-Cell Communication from Single-cell RNA Data [link](https://www.biorxiv.org/content/10.1101/2021.05.21.445160v1.full)
@@ -0,0 +1,9 @@
1
+ __version__ = "0.0.0.1"
2
+ __author__ = 'James Nagai'
3
+ __credits__ = 'Institute for Computational Genomics'
4
+
5
+ import pycrosstalker.tools as tl
6
+ import pycrosstalker.plots as pl
7
+
8
+
9
+ #Atfan helped to translate some of the code
@@ -0,0 +1 @@
1
+ from .plot import *