risk-network 0.0.15__py3-none-any.whl → 0.0.16b0__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.
risk/__init__.py CHANGED
@@ -8,4 +8,4 @@ RISK: Regional Inference of Significant Kinships
8
8
  from ._risk import RISK
9
9
 
10
10
  __all__ = ["RISK"]
11
- __version__ = "0.0.15"
11
+ __version__ = "0.0.16-beta.0"
@@ -252,9 +252,6 @@ def get_weighted_description(words_column: pd.Series, scores_column: pd.Series)
252
252
  token_clean = re.sub(r"[^\w\-]", "", token).strip()
253
253
  if not token_clean:
254
254
  continue
255
- # Skip tokens that are pure numbers
256
- if token_clean.isdigit():
257
- continue
258
255
  # Skip stopwords
259
256
  if token_clean in STOP_WORDS:
260
257
  continue
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: risk-network
3
- Version: 0.0.15
3
+ Version: 0.0.16b0
4
4
  Summary: A Python package for scalable network analysis and high-quality visualization.
5
5
  Author-email: Ira Horecka <ira89@icloud.com>
6
6
  License: GPL-3.0-or-later
@@ -44,8 +44,7 @@ Dynamic: license-file
44
44
  ![Python](https://img.shields.io/badge/python-3.8%2B-yellow)
45
45
  [![pypiv](https://img.shields.io/pypi/v/risk-network.svg)](https://pypi.python.org/pypi/risk-network)
46
46
  ![License](https://img.shields.io/badge/license-GPLv3-purple)
47
- [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.xxxxxxx.svg)](https://doi.org/10.5281/zenodo.xxxxxxx)
48
- ![Downloads](https://img.shields.io/pypi/dm/risk-network)
47
+ [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.17257418.svg)](https://doi.org/10.5281/zenodo.17257418)
49
48
  ![Tests](https://github.com/riskportal/risk/actions/workflows/ci.yml/badge.svg)
50
49
 
51
50
  **RISK** (Regional Inference of Significant Kinships) is a next-generation tool for biological network annotation and visualization. It integrates community detection algorithms, rigorous overrepresentation analysis, and a modular framework for diverse network types. RISK identifies biologically coherent relationships within networks and generates publication-ready visualizations, making it a useful tool for biological and interdisciplinary network analysis.
@@ -54,7 +53,7 @@ For a full description of RISK and its applications, see:
54
53
  <br>
55
54
  **Horecka and Röst (2025)**, _"RISK: a next-generation tool for biological network annotation and visualization"_.
56
55
  <br>
57
- DOI: [10.5281/zenodo.xxxxxxx](https://doi.org/10.5281/zenodo.xxxxxxx)
56
+ DOI: [10.5281/zenodo.17257418](https://doi.org/10.5281/zenodo.17257418)
58
57
 
59
58
  ## Documentation and Tutorial
60
59
 
@@ -80,10 +79,10 @@ pip install risk-network --upgrade
80
79
 
81
80
  ## Example Usage
82
81
 
83
- We applied RISK to a _Saccharomyces cerevisiae_ protein–protein interaction (PPI) network (Michaelis _et al_., 2023; 3,839 proteins, 30,955 interactions). RISK identified compact, functional modules overrepresented in Gene Ontology Biological Process (GO BP) terms (Ashburner _et al_., 2000), revealing biological organization including ribosomal assembly, mitochondrial organization, and RNA polymerase activity (P < 0.0001).
82
+ We applied RISK to a _Saccharomyces cerevisiae_ protein–protein interaction (PPI) network (Michaelis _et al_., 2023; 3,839 proteins, 30,955 interactions). RISK identified compact, functional modules overrepresented in Gene Ontology Biological Process (GO BP) terms (Ashburner _et al_., 2000), revealing biological organization including ribosomal assembly, mitochondrial organization, and RNA polymerase activity.
84
83
 
85
- [![RISK analysis of the yeast PPI network](https://i.imgur.com/fSNf5Ad.jpeg)](https://i.imgur.com/fSNf5Ad.jpeg)
86
- **RISK workflow overview and analysis of the yeast PPI network**. GO BP terms are color-coded to represent key cellular processes—including ribosomal assembly, mitochondrial organization, and RNA polymerase activity (P < 0.0001).
84
+ [![RISK analysis of the yeast PPI network](https://i.imgur.com/pasrVeR.jpeg)](https://i.imgur.com/pasrVeR.jpeg)
85
+ **RISK workflow overview and analysis of the yeast PPI network**. Clusters are color-coded by enriched GO Biological Process terms (p < 0.01).
87
86
 
88
87
  ## Citation
89
88
 
@@ -91,7 +90,7 @@ If you use RISK in your research, please cite the following:
91
90
 
92
91
  **Horecka and Röst (2025)**, _"RISK: a next-generation tool for biological network annotation and visualization"_.
93
92
  <br>
94
- DOI: [10.5281/zenodo.xxxxxxx](https://doi.org/10.5281/zenodo.xxxxxxx)
93
+ DOI: [10.5281/zenodo.17257418](https://doi.org/10.5281/zenodo.17257418)
95
94
 
96
95
  ## Contributing
97
96
 
@@ -1,7 +1,7 @@
1
- risk/__init__.py,sha256=XXYfTIS7rMH0d7BtRqnU9BgUTlsbGb-ZDHV8bs7wekc,136
1
+ risk/__init__.py,sha256=knyE98-BvAZ9sTJDMZ1TNr73YaAC-gqL_0Q1rKvwAHU,143
2
2
  risk/_risk.py,sha256=VULCdM41BlWKM1ou4Qc579ffZ9dMZkfhAwKYgbaEeKM,1054
3
3
  risk/_annotation/__init__.py,sha256=zr7w1DHkmvrkKFGKdPhrcvZHV-xsfd5TZOaWtFiP4Dc,164
4
- risk/_annotation/_annotation.py,sha256=03vcnkdi4HGH5UUyokUyOdyyjXOLoKSmLFuK7VAl41c,15174
4
+ risk/_annotation/_annotation.py,sha256=psPRC7q4DjXIvpgmE3VLzHYElLarJTJhQpclesz2W0Q,15063
5
5
  risk/_annotation/_io.py,sha256=xic3dkEA54X82HbyWfCiXrUpAhPWFPBZ69R8jw31omQ,12457
6
6
  risk/_annotation/_nltk_setup.py,sha256=aHHnElLOKiouVDrZ3uON0CSFmBxvzmYfjYPi07v2rJM,3584
7
7
  risk/_log/__init__.py,sha256=LX6BsfcGOH0RbAdQaUmIU-LVMmArDdKwn0jFtj45FYo,205
@@ -34,8 +34,8 @@ risk/_network/_plotter/_plotter.py,sha256=F2hw-spUdsXjvuG36o0YFR3Pnd-CZOHYUq4vW0
34
34
  risk/_network/_plotter/_utils/__init__.py,sha256=JXgjKiBWvXx0X2IeFnrOh5YZQGQoELbhJZ0Zh2mFEOo,211
35
35
  risk/_network/_plotter/_utils/_colors.py,sha256=JCliSvz8_-TsjilaRHSEsqdXFBUYlzhXKOSRGdCm9Kw,19177
36
36
  risk/_network/_plotter/_utils/_layout.py,sha256=GyGLc2U1WWUVL1Te9uPi_CLqlW_E4TImXRAL5TeA5D8,3633
37
- risk_network-0.0.15.dist-info/licenses/LICENSE,sha256=jOtLnuWt7d5Hsx6XXB2QxzrSe2sWWh3NgMfFRetluQM,35147
38
- risk_network-0.0.15.dist-info/METADATA,sha256=20u6GupvvgFm16zUW2mPlYWz3V-FuxC-303GOvFxiKM,5542
39
- risk_network-0.0.15.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
40
- risk_network-0.0.15.dist-info/top_level.txt,sha256=NX7C2PFKTvC1JhVKv14DFlFAIFnKc6Lpsu1ZfxvQwVw,5
41
- risk_network-0.0.15.dist-info/RECORD,,
37
+ risk_network-0.0.16b0.dist-info/licenses/LICENSE,sha256=jOtLnuWt7d5Hsx6XXB2QxzrSe2sWWh3NgMfFRetluQM,35147
38
+ risk_network-0.0.16b0.dist-info/METADATA,sha256=RyO3f1BZDQnREPp3my6tw6JI8Y4oFzY3gBDwEO10zL8,5390
39
+ risk_network-0.0.16b0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
40
+ risk_network-0.0.16b0.dist-info/top_level.txt,sha256=NX7C2PFKTvC1JhVKv14DFlFAIFnKc6Lpsu1ZfxvQwVw,5
41
+ risk_network-0.0.16b0.dist-info/RECORD,,