Skip to content

Commit 466cf13

Browse files
committed
fix links to renamed files
1 parent 990952c commit 466cf13

7 files changed

Lines changed: 36 additions & 35 deletions

File tree

src/FHIL_python_utils/__init__.py

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,29 +21,29 @@
2121

2222
# # Import functions from submodules
2323
# from .svm import (
24-
# featureWeightHeatmap,
25-
# classesFromProba,
26-
# annotateClustersByConsensus,
27-
# confusionBubbleMatrix
24+
# feature_weight_heatmap,
25+
# classes_from_probability_matrix,
26+
# annotate_clusters_by_consensus,
27+
# confusion_bubble_matrix
2828
# )
2929

3030
# from .plotting import (
31-
# confusionMatrix,
32-
# anndataGridplot,
33-
# rotateAxisLabels
31+
# confusion_matrix_plot,
32+
# anndata_gridplot,
33+
# rotate_x_axis_labels
3434
# )
3535

3636
# # Define what gets imported with "from FHIL_python_utils import *"
3737
# __all__ = [
3838
# # SVM functions
39-
# 'featureWeightHeatmap',
40-
# 'classesFromProba',
41-
# 'annotateClustersByConsensus',
42-
# 'confusionBubbleMatrix',
39+
# 'feature_weight_heatmap',
40+
# 'classes_from_probability_matrix',
41+
# 'annotate_clusters_by_consensus',
42+
# 'confusion_bubble_matrix',
4343
# # Plotting functions
44-
# 'confusionMatrix',
45-
# 'anndataGridplot',
46-
# 'rotateAxisLabels',
44+
# 'confusion_matrix_plot',
45+
# 'anndata_gridplot',
46+
# 'rotate_x_axis_labels',
4747
# ]
4848

4949
from ._version import version as __version__

src/FHIL_python_utils/plotting/__init__.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
for multiple AnnData objects, commonly used in spatial transcriptomics analysis.
66
"""
77

8-
from .confusionMatrix import confusionMatrix
9-
from .anndataGridplot import anndataGridplot
10-
from .rotateXAxisLabels import rotateAxisLabels
8+
from .confusion_matrix_plot import confusion_matrix_plot
9+
from .anndata_gridplot import anndata_gridplot
10+
from .rotate_x_axis_labels import rotate_x_axis_labels
1111

1212
__all__ = [
13-
'confusionMatrix',
14-
'anndataGridplot',
15-
'rotateAxisLabels'
13+
'confusion_matrix_plot',
14+
'anndata_gridplot',
15+
'rotate_x_axis_labels'
1616
]

src/FHIL_python_utils/plotting/confusion_matrix_plot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ def confusion_matrix_plot(
6262
>>> pred_labels = ['A', 'B', 'A', 'B', 'B']
6363
>>>
6464
>>> # Plot confusion matrix
65-
>>> confusionMatrix(true_labels, pred_labels)
65+
>>> confusion_matrix_plot(true_labels, pred_labels)
6666
>>>
6767
>>> # Plot normalized confusion matrix
68-
>>> confusionMatrix(true_labels, pred_labels, normalize=True)
68+
>>> confusion_matrix_plot(true_labels, pred_labels, normalize=True)
6969
"""
7070
# Convert inputs to categorical for consistent handling
7171
x_cat = pd.Categorical(x)

src/FHIL_python_utils/sc/__init__.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
Utilities for single-cell analyses
33
"""
44

5-
from .nmadFilter import nmadFilter
6-
from .ridgePlot import ridgePlot
5+
from .nmad_filter import nmad_filter
6+
from .ridge_plot import ridge_plot
7+
from .daniel_processing import daniel_processing
78

89
__all__ = [
9-
'nmadFilter',
10-
'ridgePlot'
10+
'nmad_filter',
11+
'ridge_plot'
1112
]
File renamed without changes.

src/FHIL_python_utils/svm/__init__.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
and performing consensus-based cluster annotation.
66
"""
77

8-
from .featureWeightHeatmap import featureWeightHeatmap
9-
from .classesFromProba import classesFromProba
10-
from .annotateClustersByConsensus import annotateClustersByConsensus
11-
from .confusionBubbleMatrix import confusionBubbleMatrix
8+
from .feature_weight_heatmap import feature_weight_heatmap
9+
from .classes_from_probability_matrix import classes_from_probability_matrix
10+
from .annotate_clusters_by_consensus import annotate_clusters_by_consensus
11+
from .confusion_bubble_matrix import confusion_bubble_matrix
1212

1313
__all__ = [
14-
'featureWeightHeatmap',
15-
'classesFromProba',
16-
'annotateClustersByConsensus',
17-
'confusionBubbleMatrix'
14+
'feature_weight_heatmap',
15+
'classes_from_probability_matrix',
16+
'annotate_clusters_by_consensus',
17+
'confusion_bubble_matrix'
1818
]

src/FHIL_python_utils/svm/feature_weight_heatmap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def feature_weight_heatmap(
5656
>>> model = {'svc': ovo_svm}
5757
>>>
5858
>>> # Generate feature weight heatmap
59-
>>> featureWeightingHeatmap(model, n=10)
59+
>>> feature_weight_heatmap(model, n=10)
6060
"""
6161
# Extract model components
6262
svc = model['svc']

0 commit comments

Comments
 (0)