plot-genealogy: Visualize cell genealogy

augment_genealogyR Documentation

Visualize cell genealogy

Description

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.


heavywatal/tumorr documentation built on April 2, 2024, 7:24 p.m.