cellrouter icon indicating copy to clipboard operation
cellrouter copied to clipboard

findPaths: argument 1 is not a vector

Open araksm opened this issue 5 years ago • 1 comments

HI,

I'm trying to find paths for my custom_clusters, that are added to the cellrouter@sampTab:

cellrouter <- findPaths(cellrouter, column='custom_clusters', libdir, paste(getwd(), 'results/paths', sep='/'), method="graph")

and it generates an error:

Error in order(tmp2$value, decreasing = TRUE) : argument 1 is not a vector

How could I resolve the issue?

Thank you, Araks

araksm avatar May 08 '19 09:05 araksm

Sorry for my delayed response.

Can you please provide me some more code to better track your issue?

Did you successfully generated the plot from the plotKNN function? I suspect the cell_edge_weighted_network.txt might somehow be empty.

Thanks!

On Wed, May 8, 2019 at 5:56 AM Araks Martirosyan [email protected] wrote:

HI,

I'm trying to find paths for my custom_clusters, that are added to the cellrouter@sampTab:

cellrouter <- findPaths(cellrouter, column='custom_clusters, libdir, paste(getwd(), 'results/paths', sep='/'), method="graph")

and it generates an error:

Error in order(tmp2$value, decreasing = TRUE) : argument 1 is not a vector

How could I resolve the issue?

Thank you, Araks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/edroaldo/cellrouter/issues/24, or mute the thread https://github.com/notifications/unsubscribe-auth/ACNJIR7RT4L3VCV3VADV5BTPUKPTNANCNFSM4HLQFZUA .

-- Edroaldo

edroaldo avatar May 10 '19 12:05 edroaldo