diff --git a/DESCRIPTION b/DESCRIPTION index 5fa885cb..798fc786 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,8 +1,8 @@ Package: sccomp Type: Package Title: Differential Composition and Variability Analysis for Single-Cell Data -Version: 2.5.0 -Date: 2026-05-11 +Version: 2.5.1 +Date: 2026-08-07 Authors@R: c(person("Stefano", "Mangiola", email = "stefano.mangiola@unimelb.edu.au", role = c("aut", "cre")), person("Alexandra J.", "Roth-Schulze", role = "aut"), person("Marie", "Trussart", role = "aut"), person("Enrique", "Zozaya-Valdés", role = "aut"), person("Mengyao", "Ma", role = "aut"), person("Zijie", "Gao", role = "aut"), person("Alan F.", "Rubin", role = "aut"), person("Terence P.", "Speed", role = "aut"), person("Heejung", "Shim", role = "aut"), person("Anthony T.", "Papenfuss", role = "aut")) Description: Comprehensive R package for differential composition and variability analysis in single-cell RNA sequencing, CyTOF, and microbiome data. Provides robust Bayesian modeling with outlier detection, random effects, and advanced statistical methods for cell type proportion analysis. Features include probabilistic outlier identification, mixed-effect modeling, differential variability testing, and comprehensive visualization tools. Perfect for cancer research, immunology, developmental biology, and single-cell genomics applications. License: GPL-3 diff --git a/NAMESPACE b/NAMESPACE index c5866835..5b81b228 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -123,8 +123,10 @@ importFrom(posterior,summarise_draws) importFrom(purrr,as_mapper) importFrom(purrr,map) importFrom(purrr,map2) +importFrom(purrr,map2_chr) importFrom(purrr,map2_dfc) importFrom(purrr,map2_lgl) +importFrom(purrr,map_chr) importFrom(purrr,map_dbl) importFrom(purrr,map_dfr) importFrom(purrr,map_int) diff --git a/R/sccomp_estimate.R b/R/sccomp_estimate.R index 1a326688..9d62c962 100644 --- a/R/sccomp_estimate.R +++ b/R/sccomp_estimate.R @@ -1036,9 +1036,8 @@ sccomp_glm_data_frame_counts = function(.data, random_effect_elements ) - # Print design matrix - message(sprintf("sccomp says: the composition design matrix has columns: %s", data_for_model$X %>% colnames %>% paste(collapse=", "))) - message(sprintf("sccomp says: the variability design matrix has columns: %s", data_for_model$Xa %>% colnames %>% paste(collapse=", "))) + # Preview fixed- and random-effect design matrices. + message_design_matrices(data_for_model) # Force outliers, Get the truncation index data_for_model$user_forced_truncation_not_idx = diff --git a/R/sccomp_remove_outliers.R b/R/sccomp_remove_outliers.R index 9b101747..9b2f2776 100644 --- a/R/sccomp_remove_outliers.R +++ b/R/sccomp_remove_outliers.R @@ -457,9 +457,8 @@ sccomp_remove_outliers.sccomp_tbl = function(.estimate, message("sccomp says: outlier-free model fitting - step 2/2") - # Print design matrix - message(sprintf("sccomp says: the composition design matrix has columns: %s", data_for_model$X |> colnames() |> paste(collapse=", "))) - message(sprintf("sccomp says: the variability design matrix has columns: %s", data_for_model$Xa |> colnames() |> paste(collapse=", "))) + # Preview fixed- and random-effect design matrices. + message_design_matrices(data_for_model) fit3 = data_for_model |> diff --git a/R/smooths.R b/R/smooths.R index 75de99a9..038b1cb6 100644 --- a/R/smooths.R +++ b/R/smooths.R @@ -141,6 +141,8 @@ strip_random_effect_terms <- function(fm) { #' each block its sccomp RE-slot label: just the smooth's label for #' single-penalty smooths, or `