A simple theme to clearly display persistent homology in the form of persistence barcodes or diagrams.

theme_persist()

theme_barcode(vertical = FALSE)

Arguments

vertical

Logical; whether to plot a vertical axis. Defaults to FALSE; if TRUE, allows users to more easily count the number of features plotted in barcode; equivalent to theme_persist().