edroaldo / cellrouter

Reconstruction of complex single-cell trajectories using CellRouter
45 stars 21 forks source link

findPaths: argument 1 is not a vector #24

Open araksm opened 5 years ago

araksm commented 5 years ago

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

edroaldo commented 5 years ago

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 notifications@github.com 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