Skip to content

Commit dded568

Browse files
committed
Export linearise_cells function.
1 parent 58100af commit dded568

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

NAMESPACE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
export(add_milestone_coloring)
44
export(empty_plot)
55
export(get_milestone_palette_names)
6+
export(linearise_cells)
67
export(plot_dendro)
78
export(plot_dimred)
89
export(plot_graph)

R/linearise_cells.R

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#' Prepare a trajectory for linearised visualisation.
22
#'
3+
#' This is an internal function and should probably not be used manually.
4+
#'
35
#' @param trajectory A dynwrap trajectory.
46
#' @param margin A margin between trajectory segments.
57
#' @param no_margin_between_linear Whether to add a margin only when a branch occurs.
@@ -17,6 +19,8 @@
1719
#'
1820
#' @examples
1921
#' linearise_cells(example_bifurcating)
22+
#'
23+
#' @export
2024
linearise_cells <- function(
2125
trajectory,
2226
margin = 0.05,

man/linearise_cells.Rd

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)