scself
Self Supervised Tools for Single Cell Data
Molecular Cross-Validation for PCs arXiv manuscript
mcv(
count_data,
n=1,
n_pcs=100,
random_seed=800,
p=0.5,
metric='mse',
standardization_method='log',
metric_kwargs={},
silent=False,
verbose=None,
zero_center=False
)
Noise2Self for kNN selection arXiv manuscript
noise2self(
count_data,
neighbors=None,
npcs=None,
metric='euclidean',
loss='mse',
loss_kwargs={},
return_errors=False,
connectivity=False,
standardization_method='log',
pc_data=None,
chunk_size=10000,
verbose=None
)
Implemented as in DEWÄKSS
Feature module and submodule determination using pearson correlation distance, kNN embedding, and leiden clustering
get_correlation_modules(
adata,
layer='X',
n_neighbors=10,
leiden_kwargs={},
output_key='gene_module',
obs_mask=None
)
get_correlation_submodules(
adata,
layer='X',
n_neighbors=10,
leiden_kwargs={},
input_key='gene_module',
output_key='gene_submodule',
obs_mask=None
)
Feature module and submodule scoring
score_all_modules(
adata,
modules=None,
module_column='gene_module',
output_key_suffix='_score',
obs_mask=None,
layer='X',
scaler=TruncMinMaxScaler(),
fit_scaler=True,
clipping=None
)
score_all_submodules(
adata,
modules=None,
submodules=None,
module_column='gene_module',
submodule_column='gene_submodule',
output_key_suffix='_score',
obs_mask=None,
layer='X',
scaler=TruncMinMaxScaler(),
fit_scaler=True,
clipping=None
)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
scself-0.5.1.tar.gz
(58.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
scself-0.5.1-py3-none-any.whl
(74.7 kB
view details)
File details
Details for the file scself-0.5.1.tar.gz.
File metadata
- Download URL: scself-0.5.1.tar.gz
- Upload date:
- Size: 58.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3feb90e5ec65e25991919b392158cff6563a15227688847fa85baee0ef1cf55
|
|
| MD5 |
0065b0c809dc99df63cd9b95c3b0a296
|
|
| BLAKE2b-256 |
05214c6efa73e422f42f9176ea22755bd891bda4e0c25cdc2005a9757fcb54a4
|
File details
Details for the file scself-0.5.1-py3-none-any.whl.
File metadata
- Download URL: scself-0.5.1-py3-none-any.whl
- Upload date:
- Size: 74.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0753cc8e1b99cfc1e3faa65079af571ce488c6409f149d86d9321a0ee1ff0ef
|
|
| MD5 |
97cc3f78a7e4b32b90cf5062b0cd38b3
|
|
| BLAKE2b-256 |
226ba28f7becbaf8aad4f8d3f3dcf9cb65e8444f80b61298f26898885c307601
|