diff --git a/DESCRIPTION b/DESCRIPTION index dbe2846..350468c 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: StabMap Type: Package Title: Stabilised mosaic single cell data integration using unshared features -Version: 0.99.4 +Version: 0.99.5 Authors@R: c( person("Shila", "Ghazanfar", , "shazanfar@gmail.com", role = c("aut", "cre", "ctb")), person("Aiden", "Jin", role = "ctb"), @@ -45,8 +45,9 @@ Suggests: BiocStyle, magrittr, testthat (>= 3.0.0), - purrr + purrr, + sparseMatrixStats LazyData: false -RoxygenNote: 7.3.1 +RoxygenNote: 7.3.2 VignetteBuilder: knitr Config/testthat/edition: 3 diff --git a/NAMESPACE b/NAMESPACE index ccad8d7..968652c 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -13,5 +13,6 @@ importFrom(BiocParallel,SerialParam) importFrom(BiocParallel,bpstart) importFrom(BiocParallel,bpstop) importFrom(MatrixGenerics,rowMaxs) +importFrom(MatrixGenerics,rowVars) importFrom(MatrixGenerics,rowWeightedVars) importFrom(SummarizedExperiment,assay) diff --git a/R/stabMap.R b/R/stabMap.R index 9966c5e..1cd38ed 100644 --- a/R/stabMap.R +++ b/R/stabMap.R @@ -79,7 +79,7 @@ #' #' head(out) #' -#' @importFrom MatrixGenerics rowMaxs rowWeightedVars +#' @importFrom MatrixGenerics rowMaxs rowWeightedVars rowVars #' @importFrom BiocParallel SerialParam bpstart bpstop #' @export stabMap <- function(assay_list,