You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: R/registration_pseudobulk.R
+48-35Lines changed: 48 additions & 35 deletions
Original file line number
Diff line number
Diff line change
@@ -22,11 +22,11 @@
22
22
#' when pseudo-bulking. Pseudo-bulked samples with less than `min_ncells` on
23
23
#' `sce_pseudo$ncells` will be dropped.
24
24
#' @param filter_expr A `logical(1)` specifying whether to filter pseudobulked
25
-
#' counts with `edgeR::filterByExpr`. Defaults to `TRUE`, filtering is recommended for
25
+
#' counts with `edgeR::filterByExpr`. Defaults to `TRUE`, filtering is recommended for
26
26
#' spatail registratrion workflow.
27
-
#' @param mito_gene An optional `logical()` vector indicating which genes are
27
+
#' @param mito_gene An optional `logical()` vector indicating which genes are
28
28
#' mitochondrial, used to calculate pseudo bulked mitochondrial expression rate
29
-
#' `expr_chrM` and `pseudo_expr_chrM`.
29
+
#' `expr_chrM` and `pseudo_expr_chrM`. The length has to match the `nrow(sce)`.
30
30
#'
31
31
#' @return A pseudo-bulked [SingleCellExperiment-class][SingleCellExperiment::SingleCellExperiment-class] object. The `logcounts()` assay are `log2-CPM`
32
32
#' values calculated with `edgeR::cpm(log = TRUE)`. See
0 commit comments