Skip to content

Commit

Permalink
Replace "+" in batch names for liger (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
lazappi authored Jan 20, 2025
1 parent 2a64a4f commit bdeaaaf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/methods/liger/script.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ meta <- list(

cat("Read input\n")
adata <- anndata::read_h5ad(par$input)
adata$obs["batch"] <- sub("\\+", "plus", adata$obs[["batch"]]) # Replace "+"" characters in batch names

anndataToLiger <- function(adata) {
# fetch batch names
Expand Down

0 comments on commit bdeaaaf

Please sign in to comment.