powered by
Generates an HTML table displaying summary statistics (Min, Q1, Mean, Median, Q3, Max) for mean kinship and genome uniqueness values.
makeGeneticSummaryTable(geneticValues)
Character string containing HTML table markup.
data.frame containing genetic value columns, in either of two accepted vocabularies:
meanKinship / genomeUniqueness (the legacy names), or
meanKinship
genomeUniqueness
indivMeanKin / gu (reportGV's own $report column names)
indivMeanKin
gu
reportGV
$report
Both are normalized internally, so reportGV(ped)$report may be passed directly.
reportGV(ped)$report
makeFounderStatsTable for founder statistics
makeFounderStatsTable
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)
Run the code above in your browser using DataLab