Skip to content

Commit b122513

Browse files
committed
fix bug about CompressedCharacterList
1 parent 0156222 commit b122513

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/bambu.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ bambu <- function(reads, annotations = NULL, genome = NULL, NDR = NULL,
268268
#load in the barcode clustering from file if provided
269269
iter <- seq_len(ncol(metadata(quantData_i)$countMatrix)) # iter is integer
270270
if(!is.null(clusters)){
271-
if(class(clusters)!="CompressedCharacterList"){ # !is.list(clusters) is FALSE for CompressedCharacterList
271+
if(class(clusters[[i]])!="CompressedCharacterList"){ # !is.list(clusters) is FALSE for CompressedCharacterList
272272
clusterMaps <- NULL
273273
for(j in seq_along(metadata(quantData_i)$sampleNames)){ #load in a file per sample name provided
274274
clusterMap <- fread(clusters[[j]], header = FALSE,

0 commit comments

Comments
 (0)