velocyto.R
velocyto.R copied to clipboard
Velocyto on Monocle coordinates
Hi, just wondering why show.velocity.on.embedding.cor() would fail on Monocle coordinates? Thank you, Andrea
Hi @andrea-de-micheli, I had issues with the same function when importing SPRING coordinates. What I realized was the coordinates needed to be within the scale of at most 10-20. Turns out its mentioned in the documentation but I missed it. When dividing my coordinates by 100 or 1000 to bring within the -10 - 10 scale then everything worked fine.
@andrea-de-micheli ,You may have set the wrong coordinates.
Thank you for your inputs @mbassalbioinformatics @ZHANGHAO007. I will try that!
Hello again,
My monocle data ranges from about -10 to 10 in one dimension and -5 to 5 in the other. Yet I am getting this error while velocyto calculates the arrows. Any ideas where I should start to troubleshoot this?:
Thanks! :)
calculating arrows ... Error in embArrows(emb, tp, arrow.scale, n.cores) :
Not compatible with requested type: [type=list; target=double].
Id just try going smaller still maybe even divide the coordinates by 10 and see how it goes. For me I just kept going smaller and smaller till it eventually worked. Hope that helps.
Hello again,
My monocle data ranges from about -10 to 10 in one dimension and -5 to 5 in the other. Yet I am getting this error while velocyto calculates the arrows. Any ideas where I should start to troubleshoot this?:
Thanks! :)
calculating arrows ... Error in embArrows(emb, tp, arrow.scale, n.cores) : Not compatible with requested type: [type=list; target=double].
Hello, have you solved this problem? I encountered the same issue
Hello again,
My monocle data ranges from about -10 to 10 in one dimension and -5 to 5 in the other. Yet I am getting this error while velocyto calculates the arrows. Any ideas where I should start to troubleshoot this?:
Thanks! :)
calculating arrows ... Error in embArrows(emb, tp, arrow.scale, n.cores) : Not compatible with requested type: [type=list; target=double].
Hi @andrea-de-micheli , you may have the "emb" input as a dataframe. Converting it to a matrix may help to solve the problem.
Converting it to a matrix may help to solve the problem.
thanks, I had the same issue and this helped