New Features
Celltype_Compare(): a robust function for cross‑tabulating cell type labels and grouping variables between two single‑cell objects (e.g., Seurat). It automatically aligns cell barcodes using multiple normalisation strategies, returns count tables, column‑wise proportion tables, a dominant mapping, and a publication‑ready heatmap.Improvements
New Features
Improvements
.onAttach.library() calls from Celltype_Calculate() to comply with R packaging best practices. All dependencies are now accessed exclusively through NAMESPACE imports, preventing namespace pollution.geom_line(size = ...) with geom_line(linewidth = ...) in ROC curve plotting.Markers_filter_ScType() for filtering ScType markers by tissue type and cell name.ScType, ScType_raw, and ScType_table data objects.This release introduces a major new feature for fine-grained cell type identification alongside significant improvements to accuracy, performance, and usability.
New Feature: Per-Cell Annotation System
weighted (default), mean, and AUCell.Major Improvements to Per-Cell Annotation
min_score = "auto" threshold that scales with the number of cell types, preventing excessive "Unassigned" labels in large marker sets (e.g., 30+ types).min_confidence parameter for ratio-based filtering, providing more robust cell type discrimination than simple score differences.weighted scoring method with new marker specificity and IDF-like weights.AUCell method with adaptive n_top calculation and a combined binary/rank-weighted scoring strategy.Raw_score_matrix and a Parameters list for better reproducibility and debugging.Performance & Stability
RANN package for optional 10-100x faster k-NN computations in spatial smoothing.compute_adaptive_parameters().Testing & Documentation
Celltype_Calculate() to use individual gene AUCs for more robust predictions.Parameter_Calculate() for better model generalization.Parameter_Calculate() to include threshold parameter prediction.New Features
Improvements
has_colnames parameter to Read_excel_markers() to support reading Excel files without column headers.New Features
Improvements
Markers_list_scIBD database.Read_seurat_markers() for outputs from the presto package.Celltype_Verification().New Features
Celltype_Verification() function for generating validation dot plots.colour_low, colour_high) for all plotting functions.Improvements
Read_seurat_markers() with better compatibility for FindMarkers results from the presto package.Bug Fixes
New Features
Celltype_Calculate() function.Improvements
Bug Fixes
New Features
Celltype_Calculate() function for automated cluster scoring.Celltype_Annotation() function for an end-to-end annotation workflow.Improvements
Bug Fixes
Celltype_annotation_Heatmap() function.calculate_probability().Celltype_annotation_Heatmap() to use the new calculate_probability() function.Celltype_annotation_Bar() to Celltype_annotation_Box() and improved its visualization output.