Load in a toy dataset
data(example_bifurcating)
<- example_bifurcating trajectory
If the topology is very simple (or should be represented in one dimension)
plot_onedim(trajectory)
## Coloring by milestone
## Using milestone_percentages from trajectory
## Loading required namespace: RColorBrewer
If the topology is a tree
plot_dendro(trajectory)
## Coloring by milestone
## Using milestone_percentages from trajectory
If the topology is more complex
plot_graph(trajectory)
## Coloring by milestone
## Using milestone_percentages from trajectory
plot_topology(trajectory, layout = "circle")
plot_dimred(trajectory)
## Coloring by milestone
## Using milestone_percentages from trajectory
plot_dimred(trajectory, color_trajectory = "nearest")
## Coloring by milestone
## Using milestone_percentages from trajectory
<- trajectory$prior_information$groups_id grouping
plot_onedim(trajectory, grouping = grouping)
## Coloring by grouping
plot_dendro(trajectory, grouping = grouping)
## Coloring by grouping
plot_graph(trajectory, grouping = grouping)
## Coloring by grouping
plot_dimred(trajectory, grouping = grouping)
## Coloring by grouping
<- first(colnames(trajectory$counts)) feature_oi
plot_onedim(trajectory, feature_oi = feature_oi)
## Coloring by expression
plot_dendro(trajectory, feature_oi = feature_oi)
## Coloring by expression
plot_graph(trajectory, feature_oi = feature_oi)
## Coloring by expression
plot_dimred(trajectory, feature_oi = feature_oi)
## Coloring by expression
plot_heatmap(trajectory)
## No features of interest provided, selecting the top 20 features automatically
## Using dynfeature for selecting the top 20 features
## Coloring by milestone
<- trajectory$counts %>% prcomp() %>% {.$x[, 1]}
pseudotime <-
prediction ::wrap_data(id = "dummy_prediction", cell_ids = trajectory$cell_ids) %>%
dynwrap::add_linear_trajectory(pseudotime)
dynwrap
plot_linearised_comparison(trajectory, prediction)
## root cell or milestone not provided, trying first outgoing milestone_id
## Using 'milestone_begin' as root
## Coloring by milestone
## Using milestone_percentages from trajectory
## root cell or milestone not provided, trying first outgoing milestone_id
## Using 'milestone_begin' as root
## Coloring by milestone
## Using milestone_percentages from trajectory