Skip to content

Commit 222b2e3

Browse files
committed
fixed geneset scoring
1 parent 0dbe759 commit 222b2e3

4 files changed

Lines changed: 712 additions & 80 deletions

File tree

docs/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to PySingleCellNet should be listed here. The definition of
44

55
## [Unreleased]
66

7+
# TO FIX
8+
9+
tl.score_gene_sets should add scores, one matrix to .obsm and not as columsn to .obs
10+
711
### Changed
812
- tl.cluster_subclusters layer should be None instead of counts
913

src/pySingleCellNet/__init__.py

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
"""PySingleCellNet"""
22

33
from .config import SCN_CATEGORY_COLOR_DICT
4-
from .config import SCN_DIFFEXP_KEY
5-
from . import plotting as pl
6-
from . import utils as ut
7-
from . import tools as tl
4+
from .config import SCN_DIFFEXP_KEY
5+
from . import plotting as pl
6+
from . import utils as ut
7+
from . import tools as tl
8+
from . import string_io as st
89

910
# Public API
10-
__all__ = [
11-
"__version__",
12-
"pl",
13-
"ut",
14-
"tl"
15-
]
11+
__all__ = [
12+
"__version__",
13+
"pl",
14+
"ut",
15+
"tl",
16+
"st",
17+
]
1618

1719

src/pySingleCellNet/tools/__init__.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@
3737
name_gene_modules_by_annotation,
3838
whoare_genes_neighbors,
3939
what_module_has_gene,
40-
find_string_physical_modules,
40+
find_string_network_modules,
41+
find_hybrid_gene_modules,
42+
load_string_links_df,
4143
score_gene_sets,
4244
correlate_module_scores_with_pcs
4345
)
@@ -64,7 +66,9 @@
6466
"name_gene_modules_by_annotation",
6567
"whoare_genes_neighbors",
6668
"what_module_has_gene",
67-
"find_string_physical_modules",
69+
"find_string_network_modules",
70+
"find_hybrid_gene_modules",
71+
"load_string_links_df",
6872
"score_gene_sets",
6973
"correlate_module_scores_with_pcs"
7074
]

0 commit comments

Comments
 (0)