kDomainBench¶
kDomainBench benchmarks ten methods that estimate the number of spatial
domains (k) in spatial transcriptomics data. The kdomainbench
package runs each method from Python and compares its estimated k
with the number of domains in a manual reference annotation. It is for researchers who want
to estimate k for their own 10x Visium samples, or to compare k-estimation methods.
1
Run a method
10 methods, one API
Six R methods (PRECAST, SC.MEB, BayesSpace, BNPSpace, DR.SC, iSC.MEB) and four Python methods (CellCharter, DeepST, SpaGCN, SpatialDE2) through
kdb.run.
Three environments, one call
The Python methods run in two version-locked conda environments (PyTorch, TensorFlow), the R methods in your own R.
kdb.run starts each method in the right one.
Scored against the annotation
Every run records its estimated k.
kdb.evaluate adds the k error, ARI and NMI against the reference annotation, and kdb.metrics the twelve metrics of the paper.