Skip to content

Commit

Permalink
Merge branch 'develop' into ig_marker_sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
igrabski authored Nov 10, 2023
2 parents 7cbd77d + 79c2bec commit 2ddf7f4
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 9 deletions.
7 changes: 7 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Unreleased

## Changes

- Fixed `SCTransform.StdAssay` to pass extra arguments to `sctransform::vst()`. Fixes [#875](https://github.com/satijalab/seurat/issues/7998)


# Seurat 5.0.0 (2023-10-25)

## Added
Expand Down
3 changes: 2 additions & 1 deletion R/preprocessing5.R
Original file line number Diff line number Diff line change
Expand Up @@ -1260,7 +1260,8 @@ SCTransform.StdAssay <- function(
conserve.memory = conserve.memory,
return.only.var.genes = return.only.var.genes,
seed.use = seed.use,
verbose = verbose)
verbose = verbose,
...)
min_var <- vst.out$arguments$min_variance
residual.type <- vst.out[['residual_type']] %||% 'pearson'
assay.out <- CreateSCTAssay(vst.out = vst.out, do.correct.umi = do.correct.umi, residual.type = residual.type,
Expand Down
4 changes: 2 additions & 2 deletions man/reexports.Rd

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

2 changes: 1 addition & 1 deletion src/RcppExports.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ BEGIN_RCPP
END_RCPP
}

RcppExport SEXP isnull(void *);
RcppExport SEXP isnull(SEXP);

static const R_CallMethodDef CallEntries[] = {
{"_Seurat_RunModularityClusteringCpp", (DL_FUNC) &_Seurat_RunModularityClusteringCpp, 9},
Expand Down
10 changes: 5 additions & 5 deletions tests/testthat.R
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
library(testthat)
library(Seurat)

# Run tests for 'v3'
message('Run tests for v3 assay')
options(Seurat.object.assay.version = 'v3')
test_check("Seurat")
#
# # Run tests for 'v3'
# message('Run tests for v3 assay')
# options(Seurat.object.assay.version = 'v3')
# test_check("Seurat")

# Run tests for 'v5'
message('Run tests for v5 assay')
Expand Down

0 comments on commit 2ddf7f4

Please sign in to comment.