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
Coloring by milestone
Using milestone_percentages from trajectory
Using milestone_percentages from trajectory
Coloring by grouping
Coloring by expression
Pseudotime not provided, will calculate pseudotime from root milestone
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_error() to see where the error occurred.
rlang::last_error()
<error/rlang_error>
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
Hi,
Thanks a lot for developing the powerful dynverse series software. But I come across an issue in plotting, could you please help me to fix it.
This is the code that I used and the error message that I receive:
library(tidyverse)
library(dyno)
get trajectory
data(example_bifurcating)
trajectory <- example_bifurcating %>% add_root()
gather some prior information
grouping <- trajectory$prior_information$groups_id
groups <- tibble(
group_id = trajectory$milestone_ids,
color = dynplot:::milestone_palette_list$auto(length(group_id))
)
features_oi <- apply(as.matrix(trajectory$counts), 2, sd) %>% sort() %>% names() %>% tail(10)
feature_oi <- features_oi[[10]]
patchwork::wrap_plots(
plot_dimred(trajectory) + labs(title = "Topology"),
plot_dimred(trajectory, "milestone") + labs(title = "Ordering"),
plot_dimred(trajectory, grouping=grouping, groups=groups) + labs(title = "Grouping/clustering"),
plot_dimred(trajectory, feature_oi=feature_oi) + labs(title = "Expression of\na single gene"),
plot_dimred(trajectory, "pseudotime") + labs(title = "Pseudotime"),
byrow = TRUE,
ncol = 3
) & theme(legend.position = "none")
Coloring by milestone
Using milestone_percentages from trajectory
Using milestone_percentages from trajectory
Coloring by grouping
Coloring by expression
Pseudotime not provided, will calculate pseudotime from root milestone
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_error()
to see where the error occurred.rlang::last_error()
<error/rlang_error>
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
Backtrace:
<fn>
(x)[.data.frame
(df, , c("alpha", "colour", "size", "linetype"))Run
rlang::last_trace()
to see the full context.The text was updated successfully, but these errors were encountered: