scez 0.1.1__tar.gz → 0.1.2__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.
Potentially problematic release.
This version of scez might be problematic. Click here for more details.
- {scez-0.1.1 → scez-0.1.2}/PKG-INFO +3 -2
- {scez-0.1.1 → scez-0.1.2}/pyproject.toml +2 -1
- {scez-0.1.1 → scez-0.1.2}/scez/diffexp.py +4 -3
- {scez-0.1.1 → scez-0.1.2}/LICENSE +0 -0
- {scez-0.1.1 → scez-0.1.2}/README.md +0 -0
- {scez-0.1.1 → scez-0.1.2}/scez/__init__.py +0 -0
- {scez-0.1.1 → scez-0.1.2}/scez/preprocess.py +0 -0
- {scez-0.1.1 → scez-0.1.2}/scez/representation.py +0 -0
- {scez-0.1.1 → scez-0.1.2}/scez/tests/__init__.py +0 -0
- {scez-0.1.1 → scez-0.1.2}/scez/tests/test_scez.py +0 -0
- {scez-0.1.1 → scez-0.1.2}/scez/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
2
|
Name: scez
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Summary: Single Cell Analysis, Easy Mode!
|
|
5
5
|
License: MIT
|
|
6
6
|
Author: Abe Arab
|
|
@@ -12,6 +12,7 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.10
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.11
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
15
16
|
Requires-Dist: adjustText (>=0.7.3,<0.8.0)
|
|
16
17
|
Requires-Dist: adpbulk (>=0.1.4,<0.2.0)
|
|
17
18
|
Requires-Dist: anndata (>=0.8.0,<0.9.0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "scez"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.2"
|
|
4
4
|
authors = [
|
|
5
5
|
"Abe Arab <abarbiology@gmail.com>"
|
|
6
6
|
]
|
|
@@ -12,6 +12,7 @@ classifiers = [
|
|
|
12
12
|
]
|
|
13
13
|
packages = [
|
|
14
14
|
{ include = "scez" },
|
|
15
|
+
{ include = "pyproject.toml" },
|
|
15
16
|
]
|
|
16
17
|
|
|
17
18
|
[tool.poetry.urls]
|
|
@@ -136,7 +136,8 @@ def plot_volcano(df, title=None, labels=None, n_genes=False, side='both',
|
|
|
136
136
|
plt.show()
|
|
137
137
|
|
|
138
138
|
|
|
139
|
-
def plot_top_DEG_violinplot(adata, df, title=None, labels=None, n_genes=False, side='both', font_scale=1, figsize=(10, 4), **kwargs):
|
|
139
|
+
def plot_top_DEG_violinplot(adata, df, layer=None, title=None, labels=None, n_genes=False, side='both', font_scale=1, figsize=(10, 4), **kwargs):
|
|
140
|
+
|
|
140
141
|
label_font_size = 9 * font_scale
|
|
141
142
|
title_font_size = 10 * font_scale
|
|
142
143
|
|
|
@@ -167,11 +168,11 @@ def plot_top_DEG_violinplot(adata, df, title=None, labels=None, n_genes=False, s
|
|
|
167
168
|
selected_genes = df.nlargest(n_genes, '-log10(pvalue)')
|
|
168
169
|
|
|
169
170
|
# Filter the single-cell dataset for the selected genes
|
|
170
|
-
subset_adata = adata[:, selected_genes.index]
|
|
171
|
+
subset_adata = adata[:, selected_genes.index].copy()
|
|
171
172
|
subset_adata.var.index = subset_adata.var.index.str.split('_').str[0]
|
|
172
173
|
|
|
173
174
|
# Convert the subset of adata to a DataFrame
|
|
174
|
-
subset_df = subset_adata.to_df()
|
|
175
|
+
subset_df = subset_adata.to_df(layer=layer)
|
|
175
176
|
|
|
176
177
|
# Merge the DataFrame with .obs to include the 'sample' information
|
|
177
178
|
merged_df = pd.merge(subset_df, adata.obs[['sample']], left_index=True, right_index=True)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|