immunogenomics / harmony

Fast, sensitive and accurate integration of single-cell data with Harmony
https://portals.broadinstitute.org/harmony/
Other
526 stars 100 forks source link

error when integrate multiple layers' batches #231

Closed hanst716 closed 10 months ago

hanst716 commented 10 months ago

when I integrate with code RunHarmony(seu_obj, group.by.vars = c("sample", "batch")), such error occures:Transposing data matrix Error in bindDim(x@Dim, y@Dim, 2L) : number of columns of matrices must match. when I set group.by.vars = c("sample"), it can work well, my harmony version is 1.2.0, Many thanks in advance!

hanst716 commented 10 months ago

sorry, it is becaues one of group.by.vars parameters' has NA.