broadinstitute / infercnv

Inferring CNV from Single-Cell RNA-Seq
Other
557 stars 164 forks source link

Possible source of error when comparing unequal number of vectors #601

Open hiraksarkar opened 1 year ago

hiraksarkar commented 1 year ago

When the reference celltypes mismatch from the reference, it gives the following error,

Error in !all.equal(ref_group_names, orig_ref_group_names): invalid argument type
Traceback:

Coming from the following line

https://github.com/broadinstitute/infercnv/blob/f1077335300ae2f6f90cc63f4b74d2579f3a5d29/R/inferCNV.R#L262C11-L262C19

Using isTrue might be a solution.