Skip to content

Commit 0127a35

Browse files
committed
Change name of denies to correct
1 parent 3110fc7 commit 0127a35

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

R/vst.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#' @param return_cell_attr Make cell attributes part of the output
2222
#' @param return_gene_attr Calculate gene attributes and make part of output
2323
#' @param return_dev_residuals If set to TRUE output will be deviance residuals, NOT Pearson residuals; default is FALSE
24-
#' @param return_corrected_umi If set to TRUE output will contain corrected UMI matrix; see \code{denoise} function
24+
#' @param return_corrected_umi If set to TRUE output will contain corrected UMI matrix; see \code{correct} function
2525
#' @param bw_adjust Kernel bandwidth adjustment factor used during regurlarization; factor will be applied to output of bw.SJ; default is 3
2626
#' @param gmean_eps Pseudocount added when calculating geometric mean of a gene to avoid log(0); default is 1
2727
#' @param theta_given Named numeric vector of fixed theta values for the genes; will only be used if method is set to nb_theta_given; default is NULL
@@ -248,7 +248,7 @@ vst <- function(umi,
248248
gc(verbose = FALSE)
249249

250250
if (return_corrected_umi) {
251-
rv$umi_corrected <- sctransform::denoise(rv, do_round = TRUE, do_pos = TRUE,
251+
rv$umi_corrected <- sctransform::correct(rv, do_round = TRUE, do_pos = TRUE,
252252
show_progress = show_progress)
253253
rv$umi_corrected <- as(object = rv$umi_corrected, Class = 'dgCMatrix')
254254
}

man/vst.Rd

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)