diff --git a/NEWS.md b/NEWS.md index 18d91bda9d4959827ec47d5f52e050629851eacd..9143752a6ffda540857eb8d74ee4a60a3e328356 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,6 +1,7 @@ ### Version 1.9.4.9008 (2019-08-20) * Merge master into splotch branch +* Fix dataset in splotchEstimate example ## Version 1.9.4 (2019-08-20) diff --git a/R/splotch-estimate.R b/R/splotch-estimate.R index 36a079216af2b9b338613e12e0e877fe1dd51c7d..d4bff448926cf4824e4a855ea65aae6979c314bc 100644 --- a/R/splotch-estimate.R +++ b/R/splotch-estimate.R @@ -17,9 +17,10 @@ #' @examples #' # Load example data #' library(scater) -#' data("sc_example_counts") +#' set.seed(1) +#' sce <- mockSCE() #' -#' params <- splotchEstimate(sc_example_counts) +#' params <- splotchEstimate(sce) #' params #' @export splotchEstimate <- function(counts, params = newSplotchParams(), diff --git a/man/splotchEstimate.Rd b/man/splotchEstimate.Rd index e35772f47c498b627116cf4c88e96ec81f41c074..d6cc25f3b4eb3bd21b7a79066d1b2b0b0ff4b18a 100644 --- a/man/splotchEstimate.Rd +++ b/man/splotchEstimate.Rd @@ -33,9 +33,10 @@ is done. \examples{ # Load example data library(scater) -data("sc_example_counts") +set.seed(1) +sce <- mockSCE() -params <- splotchEstimate(sc_example_counts) +params <- splotchEstimate(sce) params } \seealso{