Skip to contents

Generates an HTML table displaying summary statistics (Min, Q1, Mean, Median, Q3, Max) for mean kinship and genome uniqueness values.

Usage

makeGeneticSummaryTable(geneticValues)

Arguments

geneticValues

data.frame containing genetic value columns, in either of two accepted vocabularies:

  • meanKinship / genomeUniqueness (the legacy names), or

  • indivMeanKin / gu (reportGV's own $report column names)

Both are normalized internally, so reportGV(ped)$report may be passed directly.

Value

Character string containing HTML table markup.

See also

makeFounderStatsTable for founder statistics

Examples

gv <- data.frame(
  meanKinship = c(0.1, 0.2, 0.3, 0.4, 0.5),
  genomeUniqueness = c(0.9, 0.8, 0.7, 0.6, 0.5)
)
html <- makeGeneticSummaryTable(gv)