summary_pedmat: Summary Statistics for Pedigree Matrices

summary_pedmatR Documentation

Summary Statistics for Pedigree Matrices

Description

Computes and displays summary statistics for a pedmat object.

Usage

summary_pedmat(x)

Arguments

x

A pedmat object from pedmat.

Details

Since pedmat objects are often S4 sparse matrices with custom attributes, use this function instead of the generic summary() to ensure proper display of pedigree matrix statistics.

Value

An object of class "summary.pedmat" with statistics including method, dimensions, compression ratio (if compact), mean relationship, and matrix density.

See Also

pedmat

Examples

tped <- tidyped(small_ped)
A <- pedmat(tped, method = "A")
summary_pedmat(A)


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