Skip to content

Commit 4bd48bf

Browse files
committed
fix: standardize list access for all sample sizes
1 parent 586cdb3 commit 4bd48bf

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

R/bambu.R

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -294,11 +294,7 @@ bambu <- function(reads, annotations = NULL, genome = NULL, NDR = NULL,
294294
iter <- clustering
295295

296296
} else{ #if clusters is a list
297-
if(length(quantData)>1){
298-
iter <- clusters[[i]] #lowMemory mode
299-
}else{
300-
iter <- clusters#do.call(c,clusters)
301-
}
297+
iter <- clusters[[i]]
302298
}
303299
}
304300
countsSeCompressed <- bplapply(iter, FUN = function(j){ # previous i changed to j to avoid duplicated assignment

0 commit comments

Comments
 (0)