Skip to content

Commit

Permalink
Fix # 16
Browse files Browse the repository at this point in the history
  • Loading branch information
HectorRDB committed Nov 25, 2024
1 parent 483ec15 commit a3be9f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/topologyTest.R
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,10 @@
order <- rownames(sds)
if (is.null(order)) order <- rownames(reducedDim(sds))
permutations <- lapply(permutations, function(perm){
lapply(perm, function(dat) dat[order, ]) %>% return()
lapply(perm, function(dat) dat[order, , drop = FALSE]) %>% return()
})
og <- lapply(og, function(dat){
return(dat[order, ])
return(dat[order, , drop = FALSE])
})

return(list("og" = og, "permutations" = permutations))
Expand Down

0 comments on commit a3be9f2

Please sign in to comment.