Skip to contents

Visualize cell genealogy

Usage

augment_genealogy(graph, lengths = numeric(0))

gggenealogy(data, mapping = ggplot2::aes(), ...)

Arguments

graph

igraph

lengths

lengths of edges. edge_lengths() is useful for this. The edge attribute "weight" is used if TRUE.

data

tbl from augment_genealogy()

mapping

ggplot2::aes()

...

passed to ggplot2::geom_segment()

Details

augment_genealogy calculates coordinates of nodes and edges for plotting.

gggenealogy() creates a basic ggplot object.