Skip to content

Commit

Permalink
correct S3 method
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-james committed Feb 8, 2024
1 parent c27ab39 commit 5f56db5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions R/interface.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ robust_se_t <- function(obj, ...) {
}

#' @export
robust_se_t.SeuratObject <- function(obj, covariates=NULL,
reduction="pca", ### todo multiomic for multiple reductions?
key_added="scdemon",
nominal_p_cutoff=0.05,
t_cutoff=NULL, abs_t=FALSE, n_components=NULL) {
robust_se_t.Seurat <- function(obj, covariates=NULL,
reduction="pca", ### todo multiomic for multiple reductions?
key_added="scdemon",
nominal_p_cutoff=0.05,
t_cutoff=NULL, abs_t=FALSE, n_components=NULL) {
require(SeuratObject)
U <- Embeddings(obj, reduction=reduction)
V <- t(Loadings(obj, reduction=reduction))
Expand Down

0 comments on commit 5f56db5

Please sign in to comment.