tableBalance summarizes a balance analysis in table format.
Usage
tableBalance(data, scope = "locus", quant = 0.05)
Arguments
data
data frame from a balance analysis by calculateBalance.
scope
string, summarize 'global' or 'locus'.
quant
numeric, quantile to calculate.
Value
data.frame with summarized result.
Details
Summarize the balance analysis in table format with different scope.
(locus, or global). Returns a dataframe with columns for marker name
'Marker', number of allele ratios 'Hb.n', the minimum observed allele ratio
'Hb.Min', the mean allele ratio 'Hb.Mean', its standard deviation 'Hb.Stdv',
the XXth percentile 'Hb.Perc.XX', number of locus ratios 'Lb.n',
the minimum observed locus ratio 'Lb.Min', the mean locus ratio 'Lb.Mean',
its standard deviation 'Lb.Stdv', and the XXth percentile 'Lb.Perc.XX'.
For more details see min, mean, sd, quantile.