PyOVERCAST 1.0.11__tar.gz → 1.0.13__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.
- {pyovercast-1.0.11 → pyovercast-1.0.13}/PKG-INFO +1 -1
- {pyovercast-1.0.11 → pyovercast-1.0.13}/PyOVERCAST/predict.py +3 -3
- {pyovercast-1.0.11 → pyovercast-1.0.13}/PyOVERCAST.egg-info/PKG-INFO +1 -1
- {pyovercast-1.0.11 → pyovercast-1.0.13}/pyproject.toml +1 -1
- {pyovercast-1.0.11 → pyovercast-1.0.13}/LICENSE +0 -0
- {pyovercast-1.0.11 → pyovercast-1.0.13}/PyOVERCAST/__init__.py +0 -0
- {pyovercast-1.0.11 → pyovercast-1.0.13}/PyOVERCAST/clinks.py +0 -0
- {pyovercast-1.0.11 → pyovercast-1.0.13}/PyOVERCAST.egg-info/SOURCES.txt +0 -0
- {pyovercast-1.0.11 → pyovercast-1.0.13}/PyOVERCAST.egg-info/dependency_links.txt +0 -0
- {pyovercast-1.0.11 → pyovercast-1.0.13}/PyOVERCAST.egg-info/entry_points.txt +0 -0
- {pyovercast-1.0.11 → pyovercast-1.0.13}/PyOVERCAST.egg-info/requires.txt +0 -0
- {pyovercast-1.0.11 → pyovercast-1.0.13}/PyOVERCAST.egg-info/top_level.txt +0 -0
- {pyovercast-1.0.11 → pyovercast-1.0.13}/README.md +0 -0
- {pyovercast-1.0.11 → pyovercast-1.0.13}/setup.cfg +0 -0
|
@@ -532,12 +532,12 @@ def permutation(gene_set, gene_list):
|
|
|
532
532
|
col1 = gene_set0.columns[1]
|
|
533
533
|
set0_max, set0_min = gene_set0.loc[gene_set0[col1] >= 0.0, col1].min(), gene_set0.loc[gene_set0[col1] <= 0.0, col1].max()
|
|
534
534
|
set0_range = set0_max - set0_min
|
|
535
|
-
if set0_range
|
|
535
|
+
if set0_range == 0.0:
|
|
536
536
|
for gene in gene_sample:
|
|
537
|
-
set1_values.append(random.uniform(
|
|
537
|
+
set1_values.append(random.uniform(set0_min, set0_max) + random.uniform(1E-15, 1E-10) * random.choice([1, -1]))
|
|
538
538
|
else:
|
|
539
539
|
for gene in gene_sample:
|
|
540
|
-
set1_values.append(random.uniform(set0_min, set0_max)
|
|
540
|
+
set1_values.append(random.uniform(set0_min, set0_max))
|
|
541
541
|
|
|
542
542
|
gene_set1 = pd.DataFrame({"gene": gene_sample, "logFC": set1_values}, index=gene_sample)
|
|
543
543
|
gene_set_pt = pd.concat([gene_set0, gene_set1], axis=0)
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "PyOVERCAST"
|
|
7
|
-
version = "1.0.
|
|
7
|
+
version = "1.0.13"
|
|
8
8
|
license = "MIT" # SPDX expression
|
|
9
9
|
description = "A Python package for mining key transcription factors from transcriptome data."
|
|
10
10
|
readme = "README.md"
|
|
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
|