Open cdkodira opened 1 year ago
Hi, I came across the same error. It's caused by an error in the function clusterLouvain (script load_subfunctions.R), where twice the condition can have length >1 (line 119 and 128). Adaptingif(unique(commnums) == unique(communities))
to if(all(unique(commnums) == unique(communities)))
and suppressWarnings(if(is.na(final.comms))
to suppressWarnings(if(all(is.na(final.comms)))
worked for me.
Unfortunately, it did not fix the problem for me. Do you have any plans for updating the code the with fix? Thanks,
ah, sorry it didn't work for you. I'm not part of the REMI team, so can't help you with that
Hi,
I can take a look next week.
Best, Alice
On Mon, Jun 12, 2023 at 6:14 PM cdkodira @.***> wrote:
Unfortunately, it did not fix the problem for me. Do you have any plans for updating the code the with fix? Thanks,
— Reply to this email directly, view it on GitHub https://github.com/plevritis-lab/remi/issues/2#issuecomment-1588355875, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABOFYUPVNUEMV6OVSYCHKOTXK65IDANCNFSM6AAAAAAWDYPVGA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Alice Yu, PhD E: @.*** C: (650) 269-2826
In the bulk RNA example, when I run the following code remi.obj <- remi(data.obj) I get this error: Detecting communitiesError in if (unique(commnums) == unique(communities)) { : the condition has length > 1