Skip to content

Commit

Permalink
nf xsave runDGEA
Browse files Browse the repository at this point in the history
  • Loading branch information
vertesy committed Jun 6, 2024
1 parent 2cc9940 commit 8ab695e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
8 changes: 3 additions & 5 deletions R/Seurat.Utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -4485,17 +4485,15 @@ xsave <- function(
), whitespace = "_")

FNN <- paste0(dir, fnameBase, ".qs")
message(substitute(obj), " <- xread('", FNN, "')")
CMND <- paste0(substitute(obj), " <- xread('", FNN, "')")
message(CMND)

if ("Seurat" %in% is(obj)) {
if (saveParams) {
if (exists("paramList")) try(obj@misc$"p" <- paramList, silent = TRUE)
if (exists("allGenes")) try(obj@misc$"all.genes" <- allGenes, silent = TRUE)
}
if (saveLocation) {
loc <- 1
try(obj@misc$"file.location" <- loc, silent = TRUE)
}
if (saveLocation) try(obj@misc$"file.location" <- CMND, silent = TRUE)
}


Expand Down
4 changes: 2 additions & 2 deletions man/runDGEA.Rd

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

0 comments on commit 8ab695e

Please sign in to comment.