Open fightingevery opened 6 months ago
I'm facing the same issue, and don't know how to resolve it.
This happens because progenitor_method is a vector by default, while the logical asks for a string. You can solve it by passing in progenitor_method as an argument to the call for BEAM. This should work:
BEAM_res <- BEAM(cds[ordergene,], branch_point = 2, cores = 2, progenitor_method = 'duplicate')
This happens because progenitor_method is a vector by default, while the logical asks for a string. You can solve it by passing in progenitor_method as an argument to the call for BEAM. This should work:
BEAM_res <- BEAM(cds[ordergene,], branch_point = 2, cores = 2, progenitor_method = 'duplicate')
Following the code you provided, it ran successfully, thank you very much!
Hi, I am running BEAM, and my data is such that there are two branch points with four resulting branches or lineages. BEAM_res <- BEAM(cds[ordergene,], branch_point = 2, cores = 2)
I got this error: Error in if (progenitor_method == "duplicate") { : the condition has length > 1
Could somebody explain what this means, and how can I solve it? Thanks!!