diff --git a/DESCRIPTION b/DESCRIPTION index 78b74e676..56107bfc3 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: Seurat -Version: 4.1.1.9006 -Date: 2022-09-20 +Version: 4.2.0 +Date: 2022-09-21 Title: Tools for Single Cell Genomics Description: A toolkit for quality control, analysis, and exploration of single cell RNA sequencing data. 'Seurat' aims to enable users to identify and interpret sources of heterogeneity from single cell transcriptomic measurements, and to integrate diverse types of single cell data. See Satija R, Farrell J, Gennert D, et al (2015) , Macosko E, Basu A, Satija R, et al (2015) , Stuart T, Butler A, et al (2019) , and Hao, Hao, et al (2020) for more details. Authors@R: c( @@ -48,7 +48,7 @@ Imports: leiden (>= 0.3.1), lmtest, MASS, - Matrix (>= 1.2-14), + Matrix (>= 1.5.0), matrixStats, miniUI, patchwork, @@ -66,7 +66,7 @@ Imports: scales, scattermore (>= 0.7), sctransform (>= 0.3.4), - SeuratObject (>= 4.1.0), + SeuratObject (>= 4.1.2), shiny, spatstat.core, spatstat.geom, diff --git a/R/utilities.R b/R/utilities.R index 0b7560fb2..faac63d5a 100644 --- a/R/utilities.R +++ b/R/utilities.R @@ -2340,7 +2340,7 @@ RowVarSparse <- function(mat) { RowSparseCheck <- function(mat) { if (!inherits(x = mat, what = "sparseMatrix")) { stop("Input should be sparse matrix") - } else if (class(x = mat) != "dgCMatrix") { + } else if (!is(object = mat, class2 = "dgCMatrix")) { warning("Input matrix is converted to dgCMatrix.") mat <- as.sparse(x = mat) } diff --git a/cran-comments.md b/cran-comments.md index 2e206a8e3..82439ff3d 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,10 +1,7 @@ -# Seurat v4.1.1 +# Seurat v4.2.0 ## Test environments * local Ubuntu 20.04 install, R 4.1.3 -* Ubuntu 16.04.6 (on travis-ci), R 4.0.0, R devel -* macOS 10.13.6 (on travis-ci), R 4.0.2 -* Windows Server 2012 R2 (on AppVeyor), R 4.1.0 Patched * win-builder (release, devel) ## R CMD check results