diff --git a/DESCRIPTION b/DESCRIPTION index be5d289f9b130599aac52e697d083375bdb4a4af..b74ddbb51d9f27a1f37d5ce4d95f133f6fa53f62 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,8 +1,8 @@ Package: splatter Type: Package Title: Simple Simulation of Single-cell RNA Sequencing Data -Version: 1.9.9 -Date: 2019-10-16 +Version: 1.9.10 +Date: 2019-10-18 Authors@R: c(person("Luke", "Zappia", role = c("aut", "cre"), email = "luke@lazappi.id.au", @@ -35,7 +35,7 @@ Imports: matrixStats, methods, scales, - scater (>= 1.13.11), + scater (>= 1.13.27), stats, SummarizedExperiment, utils, diff --git a/R/compare.R b/R/compare.R index 3243d8894a9063a8e89de186a4f18bafa9e03254..c210b2821225d7b36033545b8547b0c13daf3b8c 100644 --- a/R/compare.R +++ b/R/compare.R @@ -79,8 +79,8 @@ compareSCEs <- function(sces, point.size = 0.1, point.alpha = 0.1, sce <- sces[[name]] rowData(sce)$Dataset <- name colData(sce)$Dataset <- name - sce <- scater::addQCPerCell(sce) - sce <- scater::addQCPerFeature(sce) + sce <- scater::addPerCellQC(sce) + sce <- scater::addPerFeatureQC(sce) cpm(sce) <- scater::calculateCPM(sce) sce <- addFeatureStats(sce, "counts") sce <- addFeatureStats(sce, "cpm") @@ -358,8 +358,8 @@ diffSCEs <- function(sces, ref, point.size = 0.1, point.alpha = 0.1, } rowData(sce)$Dataset <- name colData(sce)$Dataset <- name - sce <- scater::addQCPerCell(sce) - sce <- scater::addQCPerFeature(sce) + sce <- scater::addPerCellQC(sce) + sce <- scater::addPerFeatureQC(sce) cpm(sce) <- scater::calculateCPM(sce) sce <- addFeatureStats(sce, "counts") sce <- addFeatureStats(sce, "cpm", log = TRUE)