Error in `levels<-`(`*tmp*`, value = as.character(levels)) : factor level [3] is duplicated
It seems to result from duplicate L-R pairs of certain pathways in CellChatDB.
The same error: https://www.jianshu.com/p/ffe99c3028da