vispstat: Visualize Pedigree Statistics (internal)

View source: R/vispstat.R

vispstatR Documentation

Visualize Pedigree Statistics (internal)

Description

Internal plotting backend for plot.pedstats. Users should call plot(stats, ...) instead of this function directly.

Usage

vispstat(x, type = c("genint", "ecg"), metric = "ECG", ...)

## S3 method for class 'pedstats'
plot(x, ...)

Arguments

x

A pedstats object returned by pedstats.

type

Character. The type of plot to generate:

  • "genint": Bar chart of mean generation intervals.

  • "ecg": Histogram of ancestral depth metrics (ECG, FullGen, or MaxGen).

metric

Character. Specific metric to plot when type = "ecg". Options: "ECG" (default), "FullGen", "MaxGen".

...

Additional arguments passed to barchart or histogram.

Value

A lattice plot object.

See Also

pedstats, plot.pedstats


visPedigree documentation built on March 30, 2026, 9:07 a.m.