Skip to contents

Visualize cell genealogy

Usage

augment_genealogy(graph, mu = 0, accel = 0)

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

Arguments

graph

igraph

mu

mutation rate per cell division.

accel

assumption of accelerated mutation.

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.