Skip to content

Commit

Permalink
bf .getRegressionVariablesForScaleData
Browse files Browse the repository at this point in the history
  • Loading branch information
vertesy committed Jun 6, 2024
1 parent 9a30c7f commit dd2e759
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions R/Seurat.Utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -5447,11 +5447,11 @@ compareVarFeaturesAndRanks <- function(
} else if(length(func_slot) > 1) {
func_slot <- grepv(x = func_slot, pattern = assay)
message("Multiple ScaleData slots found in @commands.")
} else {
regressionVariables <- obj@commands[[func_slot]]$'vars.to.regress'
}
message("Searching for parameters is command: ", func_slot[length(func_slot)])

# Extract regression variables
regressionVariables <- obj@commands[[func_slot]]$'vars.to.regress'

if (is.null(regressionVariables)) {
message("No regression variables found in @commands")
Expand Down
2 changes: 1 addition & 1 deletion man/dot-getRegressionVariablesForScaleData.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit dd2e759

Please sign in to comment.