Error in get.exp.stat
wlei-amu opened this issue · 6 comments
Dear Sir or Madam,
Thanks for developing this.
when I run the code:
diff.exp.stat <- get.exp.stat(sc.dat=sc.dat[,colSums(sc.dat>0)>3],
cell.type.labels=cell.type.labels,
cell.state.labels=cell.state.labels,
pseudo.count=0.1,
cell.count.cutoff=50,
n.cores=10 #number of threads )
I got an error with the following:
Error: logical subscript contains NAs
How to solve it? thanks you!
Dear users, Could you kindly confirm that none of the arguments of get.exp.stat contain NA value? Thanks.
…
On Mon, Jul 24, 2023 at 8:35 PM skim245 @.> wrote: @wlei-amu https://github.com/wlei-amu i'm having the same issue. did you resolve this issue? — Reply to this email directly, view it on GitHub <#50 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB4NHS63ZN4O44F5HS4WY2TXR4IFPANCNFSM6AAAAAA2P6E5BQ . You are receiving this because you are subscribed to this thread.Message ID: @.>
Thank you for your reply. I finally figured out what the problem was, because I set cell.type.labels and cell.state.labels as factor. After I set them as character, then it worked well.
@wlei-amu i'm having the same issue. did you resolve this issue?
Please set cell.type.labels and cell.state.labels as character, then it worked well.