SlimR: Machine Learning-Assisted, Marker-Based Tool for Single-Cell and Spatial Transcriptomics Annotation

Annotates single-cell and spatial-transcriptomic (ST) data using marker datasets. Supports unified markers list ('Markers_list') creation from built-in databases (e.g., 'Cellmarker2', 'PanglaoDB', 'scIBD', 'TCellSI', 'PCTIT', 'PCTAM'), Seurat objects, or user-supplied Excel files. SlimR can predict calculation parameters by machine learning algorithms (e.g., 'Random Forest', 'Gradient Boosting', 'Support Vector Machine', 'Ensemble Learning'), and based on Markers_list, calculate gene expression of different cell types and predict annotation information, and calculate corresponding AUC and annotate it, then verify it. At the same time, it can calculate gene expression corresponding to the cell type to generate a reference map for manual annotation (e.g., 'Heat Map', 'Feature Plots', 'Combined Plots'). For more details, see Kabacoff (2020, ISBN:9787115420572).

Getting started

Package details

AuthorZhaoqing Wang [aut, cre] (ORCID: <https://orcid.org/0000-0001-8348-7245>)
MaintainerZhaoqing Wang <zhaoqingwang@mail.sdu.edu.cn>
LicenseMIT + file LICENSE
Version1.0.9
URL https://github.com/Zhaoqing-wang/SlimR
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("SlimR")

Try the SlimR package in your browser

Any scripts or data that you put into this service are public.

SlimR documentation built on Dec. 17, 2025, 5:09 p.m.