risk-network 0.0.9b15__tar.gz → 0.0.9b16__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.
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/PKG-INFO +5 -3
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/README.md +1 -1
- risk_network-0.0.9b16/risk/__init__.py +10 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk/network/plot/contour.py +14 -2
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk/risk.py +4 -4
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk_network.egg-info/PKG-INFO +5 -3
- risk_network-0.0.9b15/risk/__init__.py +0 -10
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/LICENSE +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/MANIFEST.in +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/pyproject.toml +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk/annotations/__init__.py +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk/annotations/annotations.py +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk/annotations/io.py +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk/constants.py +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk/log/__init__.py +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk/log/console.py +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk/log/parameters.py +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk/neighborhoods/__init__.py +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk/neighborhoods/community.py +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk/neighborhoods/domains.py +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk/neighborhoods/neighborhoods.py +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk/network/__init__.py +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk/network/geometry.py +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk/network/graph/__init__.py +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk/network/graph/network.py +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk/network/graph/summary.py +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk/network/io.py +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk/network/plot/__init__.py +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk/network/plot/canvas.py +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk/network/plot/labels.py +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk/network/plot/network.py +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk/network/plot/plotter.py +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk/network/plot/utils/colors.py +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk/network/plot/utils/layout.py +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk/stats/__init__.py +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk/stats/hypergeom.py +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk/stats/permutation/__init__.py +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk/stats/permutation/permutation.py +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk/stats/permutation/test_functions.py +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk/stats/poisson.py +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk/stats/stats.py +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk_network.egg-info/SOURCES.txt +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk_network.egg-info/dependency_links.txt +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk_network.egg-info/requires.txt +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/risk_network.egg-info/top_level.txt +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/setup.cfg +0 -0
- {risk_network-0.0.9b15 → risk_network-0.0.9b16}/setup.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.2
|
2
2
|
Name: risk-network
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.9b16
|
4
4
|
Summary: A Python package for biological network analysis
|
5
5
|
Author: Ira Horecka
|
6
6
|
Author-email: Ira Horecka <ira89@icloud.com>
|
@@ -710,6 +710,8 @@ Requires-Dist: scipy
|
|
710
710
|
Requires-Dist: statsmodels
|
711
711
|
Requires-Dist: threadpoolctl
|
712
712
|
Requires-Dist: tqdm
|
713
|
+
Dynamic: author
|
714
|
+
Dynamic: requires-python
|
713
715
|
|
714
716
|
# RISK Network
|
715
717
|
|
@@ -726,7 +728,7 @@ Requires-Dist: tqdm
|
|
726
728
|

|
727
729
|

|
728
730
|
|
729
|
-
**RISK (
|
731
|
+
**RISK** (Regional Inference of Significant Kinships) is a next-generation tool designed to streamline the analysis of biological and non-biological networks. RISK enhances network analysis with its modular architecture, extensive file format support, and advanced clustering algorithms. It simplifies the creation of publication-quality figures, making it an important tool for researchers across disciplines.
|
730
732
|
|
731
733
|
## Documentation and Tutorial
|
732
734
|
|
@@ -13,7 +13,7 @@
|
|
13
13
|

|
14
14
|

|
15
15
|
|
16
|
-
**RISK (
|
16
|
+
**RISK** (Regional Inference of Significant Kinships) is a next-generation tool designed to streamline the analysis of biological and non-biological networks. RISK enhances network analysis with its modular architecture, extensive file format support, and advanced clustering algorithms. It simplifies the creation of publication-quality figures, making it an important tool for researchers across disciplines.
|
17
17
|
|
18
18
|
## Documentation and Tutorial
|
19
19
|
|
@@ -270,8 +270,20 @@ class Contour:
|
|
270
270
|
)
|
271
271
|
|
272
272
|
# Set linewidth for the contour lines to 0 for levels other than the base level
|
273
|
-
|
274
|
-
|
273
|
+
c.set_linewidth(0)
|
274
|
+
try:
|
275
|
+
# Try setting linewidth directly on the QuadContourSet
|
276
|
+
c.set_linewidth(0)
|
277
|
+
except AttributeError:
|
278
|
+
# Fallback: Iterate over collections if the direct method fails
|
279
|
+
if hasattr(c, "collections"):
|
280
|
+
for i, collection in enumerate(c.collections):
|
281
|
+
collection.set_linewidth(0)
|
282
|
+
else:
|
283
|
+
# Raise an error if 'collections' is also not available
|
284
|
+
raise AttributeError(
|
285
|
+
"'QuadContourSet' object has neither 'set_linewidth' nor 'collections'"
|
286
|
+
)
|
275
287
|
|
276
288
|
def get_annotated_contour_colors(
|
277
289
|
self,
|
@@ -63,7 +63,7 @@ class RISK(NetworkIO, AnnotationsIO):
|
|
63
63
|
network (nx.Graph): The network graph.
|
64
64
|
annotations (Dict[str, Any]): The annotations associated with the network.
|
65
65
|
distance_metric (str, List, Tuple, or np.ndarray, optional): The distance metric(s) to use. Can be a string for one
|
66
|
-
metric or a list/tuple/ndarray of metrics ('greedy_modularity', 'louvain', 'label_propagation',
|
66
|
+
metric or a list/tuple/ndarray of metrics ('greedy_modularity', 'louvain', 'leiden', 'label_propagation',
|
67
67
|
'markov_clustering', 'walktrap', 'spinglass'). Defaults to 'louvain'.
|
68
68
|
louvain_resolution (float, optional): Resolution parameter for Louvain clustering. Defaults to 0.1.
|
69
69
|
leiden_resolution (float, optional): Resolution parameter for Leiden clustering. Defaults to 1.0.
|
@@ -127,7 +127,7 @@ class RISK(NetworkIO, AnnotationsIO):
|
|
127
127
|
network (nx.Graph): The network graph.
|
128
128
|
annotations (Dict[str, Any]): The annotations associated with the network.
|
129
129
|
distance_metric (str, List, Tuple, or np.ndarray, optional): The distance metric(s) to use. Can be a string for one
|
130
|
-
metric or a list/tuple/ndarray of metrics ('greedy_modularity', 'louvain', 'label_propagation',
|
130
|
+
metric or a list/tuple/ndarray of metrics ('greedy_modularity', 'louvain', 'leiden', 'label_propagation',
|
131
131
|
'markov_clustering', 'walktrap', 'spinglass'). Defaults to 'louvain'.
|
132
132
|
louvain_resolution (float, optional): Resolution parameter for Louvain clustering. Defaults to 0.1.
|
133
133
|
leiden_resolution (float, optional): Resolution parameter for Leiden clustering. Defaults to 1.0.
|
@@ -194,7 +194,7 @@ class RISK(NetworkIO, AnnotationsIO):
|
|
194
194
|
network (nx.Graph): The network graph.
|
195
195
|
annotations (Dict[str, Any]): The annotations associated with the network.
|
196
196
|
distance_metric (str, List, Tuple, or np.ndarray, optional): The distance metric(s) to use. Can be a string for one
|
197
|
-
metric or a list/tuple/ndarray of metrics ('greedy_modularity', 'louvain', 'label_propagation',
|
197
|
+
metric or a list/tuple/ndarray of metrics ('greedy_modularity', 'louvain', 'leiden', 'label_propagation',
|
198
198
|
'markov_clustering', 'walktrap', 'spinglass'). Defaults to 'louvain'.
|
199
199
|
louvain_resolution (float, optional): Resolution parameter for Louvain clustering. Defaults to 0.1.
|
200
200
|
leiden_resolution (float, optional): Resolution parameter for Leiden clustering. Defaults to 1.0.
|
@@ -430,7 +430,7 @@ class RISK(NetworkIO, AnnotationsIO):
|
|
430
430
|
network (nx.Graph): The network graph.
|
431
431
|
annotations (pd.DataFrame): The matrix of annotations associated with the network.
|
432
432
|
distance_metric (str, List, Tuple, or np.ndarray, optional): The distance metric(s) to use. Can be a string for one
|
433
|
-
metric or a list/tuple/ndarray of metrics ('greedy_modularity', 'louvain', 'label_propagation',
|
433
|
+
metric or a list/tuple/ndarray of metrics ('greedy_modularity', 'louvain', 'leiden', 'label_propagation',
|
434
434
|
'markov_clustering', 'walktrap', 'spinglass'). Defaults to 'louvain'.
|
435
435
|
louvain_resolution (float, optional): Resolution parameter for Louvain clustering. Defaults to 0.1.
|
436
436
|
leiden_resolution (float, optional): Resolution parameter for Leiden clustering. Defaults to 1.0.
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.2
|
2
2
|
Name: risk-network
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.9b16
|
4
4
|
Summary: A Python package for biological network analysis
|
5
5
|
Author: Ira Horecka
|
6
6
|
Author-email: Ira Horecka <ira89@icloud.com>
|
@@ -710,6 +710,8 @@ Requires-Dist: scipy
|
|
710
710
|
Requires-Dist: statsmodels
|
711
711
|
Requires-Dist: threadpoolctl
|
712
712
|
Requires-Dist: tqdm
|
713
|
+
Dynamic: author
|
714
|
+
Dynamic: requires-python
|
713
715
|
|
714
716
|
# RISK Network
|
715
717
|
|
@@ -726,7 +728,7 @@ Requires-Dist: tqdm
|
|
726
728
|

|
727
729
|

|
728
730
|
|
729
|
-
**RISK (
|
731
|
+
**RISK** (Regional Inference of Significant Kinships) is a next-generation tool designed to streamline the analysis of biological and non-biological networks. RISK enhances network analysis with its modular architecture, extensive file format support, and advanced clustering algorithms. It simplifies the creation of publication-quality figures, making it an important tool for researchers across disciplines.
|
730
732
|
|
731
733
|
## Documentation and Tutorial
|
732
734
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|