plot_linearised_comparison: Compare two trajectories as a pseudotime scatterplot

Description Usage Arguments Value Examples

View source: R/plot_linearised_comparison.R

Description

Compare two trajectories as a pseudotime scatterplot

Usage

1
2
3
4
5
6
7
plot_linearised_comparison(
  traj1,
  traj2,
  reorder = TRUE,
  margin = 0.05,
  reorder_second_by = c("mapping", "optimisation")
)

Arguments

traj1

The first trajectory

traj2

The second trajectory

reorder

Whether to reorder the trajectory

margin

A margin between trajectory segments.

reorder_second_by

How to reorder the second trajectory, either by mapping the milestones from both trajectories (mapping), or by trying to correlate the orderings between the two trajectories (optimisation)

Value

A scatterplot comparison ggplot of two linearised trajectories.

Examples

1
2

dynverse/dynplot documentation built on Dec. 12, 2021, 9:39 p.m.