immunogenomics / harmony

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

error when integrate multiple layers' batches #231

Closed hanst716 closed 11 months ago

hanst716 commented 11 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 11 months ago

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