Skip to content

SlimR

Adaptive Machine Learning-Powered, Context-Matching Tool for Single-Cell and Spatial Transcriptomics Annotation

v1.1.2 · Mar 13, 2026 · MIT + file LICENSE

Description

Annotates single-cell and spatial-transcriptomic (ST) data using context-matching marker datasets. It creates a unified marker list (`Markers_list`) from multiple sources: built-in curated databases ('Cellmarker2', 'PanglaoDB', 'ScType', 'scIBD', 'TCellSI', 'PCTIT', 'PCTAM'), Seurat objects with cell labels, or user-provided Excel tables. SlimR first uses adaptive machine learning for parameter optimization, and then offers two automated annotation approaches: 'cluster-based' and 'per-cell'. Cluster-based annotation assigns one label per cluster, expression-based probability calculation, and AUC validation. Per-cell annotation assigns labels to individual cells using three scoring methods with adaptive thresholds and ratio-based confidence filtering, plus optional UMAP spatial smoothing, making it ideal for heterogeneous clusters and rare cell types. The package also supports semi-automated workflows with heatmaps, feature plots, and combined visualizations for manual annotation. For more information, see the package documentation at <https://github.com/zhaoqing-wang/SlimR>.

Downloads

554

Last 30 days

7281st

1.2K

Last 90 days

2.6K

Last year

Trend: +45.4% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies cowplot dplyr ggplot2 patchwork pheatmap readxl scales Seurat tidyr tibble SlimR

Version History

updated 1.1.2 ← 1.1.1 diff Mar 13, 2026
new 1.1.1 Mar 10, 2026
updated 1.1.1 ← 1.1.0 diff Feb 4, 2026
updated 1.1.0 ← 1.0.9 diff Jan 19, 2026
updated 1.0.9 ← 1.0.8 diff Dec 16, 2025
updated 1.0.8 ← 1.0.7 diff Oct 7, 2025
updated 1.0.7 ← 1.0.3 diff Aug 18, 2025
new 1.0.3 Jul 28, 2025