Skip to content
Snippets Groups Projects
Commit 06c83b52 authored by Luke Zappia's avatar Luke Zappia
Browse files

Fix parameter passing in BASiCSEstimate

Parameters were not being passed from the SingleCellExperiment method to the
matrix method
parent b1fc4441
No related branches found
No related tags found
No related merge requests found
......@@ -35,13 +35,13 @@
#' \dontrun{
#' # Load example data
#' library(scater)
#' data("sc_example_counts")
#' set.seed(1)
#' sce <- mockSCE()
#'
#' spike.info <- data.frame(Name = rownames(sc_example_counts)[1:10],
#' spike.info <- data.frame(Name = rownames(sce)[1:10],
#' Input = rnorm(10, 500, 200),
#' stringsAsFactors = FALSE)
#' params <- BASiCSEstimate(sc_example_counts[1:100, 1:30],
#' spike.info)
#' params <- BASiCSEstimate(sce[1:100, 1:30], spike.info)
#' params
#' }
#' @export
......@@ -63,7 +63,8 @@ BASiCSEstimate.SingleCellExperiment <- function(counts, spike.info = NULL,
verbose = TRUE, progress = TRUE,
...) {
counts <- BiocGenerics::counts(counts)
BASiCSEstimate(counts, params)
BASiCSEstimate(counts, spike.info, batch, n, thin, burn, regression,
params, verbose, progress, ...)
}
#' @rdname BASiCSEstimate
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment