SURE-tools 2.0.3__tar.gz → 2.0.5__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 SURE-tools might be problematic. Click here for more details.
- {sure_tools-2.0.3 → sure_tools-2.0.5}/PKG-INFO +1 -1
- {sure_tools-2.0.3 → sure_tools-2.0.5}/SURE/SURE.py +1 -1
- sure_tools-2.0.5/SURE/flow/__init__.py +1 -0
- sure_tools-2.0.3/SURE/flow/quiver.py → sure_tools-2.0.5/SURE/flow/plot_quiver.py +1 -1
- {sure_tools-2.0.3 → sure_tools-2.0.5}/SURE_tools.egg-info/PKG-INFO +1 -1
- {sure_tools-2.0.3 → sure_tools-2.0.5}/SURE_tools.egg-info/SOURCES.txt +1 -1
- {sure_tools-2.0.3 → sure_tools-2.0.5}/setup.py +1 -1
- sure_tools-2.0.3/SURE/flow/__init__.py +0 -1
- {sure_tools-2.0.3 → sure_tools-2.0.5}/LICENSE +0 -0
- {sure_tools-2.0.3 → sure_tools-2.0.5}/README.md +0 -0
- {sure_tools-2.0.3 → sure_tools-2.0.5}/SURE/__init__.py +0 -0
- {sure_tools-2.0.3 → sure_tools-2.0.5}/SURE/assembly/__init__.py +0 -0
- {sure_tools-2.0.3 → sure_tools-2.0.5}/SURE/assembly/assembly.py +0 -0
- {sure_tools-2.0.3 → sure_tools-2.0.5}/SURE/assembly/atlas.py +0 -0
- {sure_tools-2.0.3 → sure_tools-2.0.5}/SURE/atac/__init__.py +0 -0
- {sure_tools-2.0.3 → sure_tools-2.0.5}/SURE/atac/utils.py +0 -0
- {sure_tools-2.0.3 → sure_tools-2.0.5}/SURE/codebook/__init__.py +0 -0
- {sure_tools-2.0.3 → sure_tools-2.0.5}/SURE/codebook/codebook.py +0 -0
- {sure_tools-2.0.3 → sure_tools-2.0.5}/SURE/utils/__init__.py +0 -0
- {sure_tools-2.0.3 → sure_tools-2.0.5}/SURE/utils/custom_mlp.py +0 -0
- {sure_tools-2.0.3 → sure_tools-2.0.5}/SURE/utils/queue.py +0 -0
- {sure_tools-2.0.3 → sure_tools-2.0.5}/SURE/utils/utils.py +0 -0
- {sure_tools-2.0.3 → sure_tools-2.0.5}/SURE_tools.egg-info/dependency_links.txt +0 -0
- {sure_tools-2.0.3 → sure_tools-2.0.5}/SURE_tools.egg-info/entry_points.txt +0 -0
- {sure_tools-2.0.3 → sure_tools-2.0.5}/SURE_tools.egg-info/requires.txt +0 -0
- {sure_tools-2.0.3 → sure_tools-2.0.5}/SURE_tools.egg-info/top_level.txt +0 -0
- {sure_tools-2.0.3 → sure_tools-2.0.5}/setup.cfg +0 -0
|
@@ -237,7 +237,7 @@ class SURE(nn.Module):
|
|
|
237
237
|
self.cell_factor_effect = nn.ModuleList()
|
|
238
238
|
for i in np.arange(self.cell_factor_size):
|
|
239
239
|
self.cell_factor_effect.append(MLP(
|
|
240
|
-
[self.
|
|
240
|
+
[self.latent_dim+1] + hidden_sizes + [self.latent_dim],
|
|
241
241
|
activation=activate_fct,
|
|
242
242
|
output_activation=None,
|
|
243
243
|
post_layer_fct=post_layer_fct,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from .plot_quiver import plot_quiver
|
|
@@ -3,7 +3,7 @@ import matplotlib.pyplot as plt
|
|
|
3
3
|
from sklearn.decomposition import PCA
|
|
4
4
|
import scanpy as sc
|
|
5
5
|
|
|
6
|
-
def
|
|
6
|
+
def plot_quiver(z_points, delta_z, method='umap', figsize=(6,4), dpi=200):
|
|
7
7
|
"""
|
|
8
8
|
从高维潜在空间选择2个维度进行quiver可视化
|
|
9
9
|
"""
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
from .quiver import plot_quiver
|
|
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
|