Skip to content

sassanostvar/random-walk-graph-laplacian-smoothing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

random-walk-graph-laplacian-smoothing

Tests Coverage

Demo scanpy-native implementation of random-walk graph laplacian smoothing for single-cell transcriptomics data.

Background

doc/RW_graph_laplacian_smoothing.pdf

Usage

from graph_laplacian import RWGLSmooth

rw_smoother = RWGLSmooth(
    adata,
    alpha=0.05, # diffusion coefficient
)

rw_smoother.step(
    feature_matrix=adata.X,
    steps=10,
    key_added='X_rw_smooth_10_steps', # added to adata.layers
    in_place=True,
    verbose=True,
)

About

demo scanpy-native implementation of random-walk graph laplacian smoothing for single-cell transcriptomics data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages