Skip to content

Commit

Permalink
Specify package for a function name
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick-Eagles committed Jul 19, 2024
1 parent f860a84 commit 788d04c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/testthat/test-spe_to_seurat.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,12 @@ test_that(
# Remove most reducedDims, since too many names fail Seurat
# conventions and produce warnings that don't signify problems with
# 'spe_to_seurat'
colnames(reducedDims(spe)[[4]]) <- paste0(colnames(reducedDims(spe)[[4]]), "_")
reducedDims(spe) <- list("first_rd" = reducedDims(spe)[[4]])
colnames(SingleCellExperiment::reducedDims(spe)[[4]]) <- paste0(
colnames(SingleCellExperiment::reducedDims(spe)[[4]]), "_"
)
SingleCellExperiment::reducedDims(spe) <- list(
"first_rd" = SingleCellExperiment::reducedDims(spe)[[4]]
)

# Now mostly just check that nothing fails during conversion
seur <- spe_to_seurat(spe, verbose = FALSE)
Expand Down

0 comments on commit 788d04c

Please sign in to comment.