You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It worked before and then got the error since I updated some packages. I seems there is no argument return_other_dimreds for function get_dimred in package dynwrap.
Thanks. I installed the latest dynwrap. However, sometimes I got this error when I set root milestone.
>plot_dimred(model)
>model <- model %>% add_root(root_milestone_id = "1")
> plot_dimred(model)
Coloring by milestone
Using milestone_percentages from trajectory
Error in approx(rel_edge_pos$percentage, rel_edge_pos[[cn]], df$percentage) :
need at least two non-NA values to interpolate
> model_rooted <- model_slingshot %>% add_root(root_milestone_id = 1)
> plot_dimred(model_rooted, color_cells = "pseudotime", expression_source = dataset)
Pseudotime not provided, will calculate pseudotime from root milestone
> model_rooted <- model_slingshot %>% add_root(root_milestone_id = 4)
> plot_dimred(model_rooted, color_cells = "pseudotime", expression_source = dataset,
plot_trajectory = F)
Pseudotime not provided, will calculate pseudotime from root milestone
Adding the plot_trajectory=F line allows it to plot, but it seems like only one of the branches is being considered in the pseudo-time calculations.
Without it, i run into the same error:
> plot_dimred(model_rooted, color_cells = "pseudotime", expression_source = dataset)
Pseudotime not provided, will calculate pseudotime from root milestone
Error in approx(rel_edge_pos$percentage, rel_edge_pos[[cn]], df$percentage) :
need at least two non-NA values to interpolate
We test th examles under Rsudio as the following command, howerver, it reports errors, we can't find the reason, plot_dimred(example_bifurcating)
errors:
Coloring by milestone
Using milestone_percentages from trajectory
Loading required namespace: RColorBrewer
Error in ggforce::geom_link2():
! Problem while converting geom to grob.
ℹ Error occurred in the 7th layer.
Caused by error in [.data.frame:
! undefined columns selected
Run rlang::last_trace() to see where the error occurred.
Activity
rcannood commentedon Sep 10, 2019
Hi @lixin4306ren,
I just merged the devel branch of dynwrap into master. Updating dynwrap should solve your problem.
Robrecht
lixin4306ren commentedon Sep 11, 2019
Thanks. I installed the latest
dynwrap. However, sometimes I got this error when I set root milestone.bjreisman commentedon Nov 27, 2019
I'm also running into this error.
Adding the
plot_trajectory=Fline allows it to plot, but it seems like only one of the branches is being considered in the pseudo-time calculations.Without it, i run into the same error:
Atvar2 commentedon Jun 20, 2023
We test th examles under Rsudio as the following command, howerver, it reports errors, we can't find the reason, plot_dimred(example_bifurcating)
errors:
Coloring by milestone
Using milestone_percentages from trajectory
Loading required namespace: RColorBrewer
Error in
ggforce::geom_link2():! Problem while converting geom to grob.
ℹ Error occurred in the 7th layer.
Caused by error in
[.data.frame:! undefined columns selected
Run
rlang::last_trace()to see where the error occurred.Joanexee commentedon Jun 26, 2023
Got the same undefined columns selected error with example data