Learn R Programming

strvalidator (version 2.3.0)

tableBalance: Table Balance

Description

Summarize Hb or Lb analysis data in table format.

Usage

tableBalance(data, scope = "locus", quant = 0.05)

Value

data.frame with summarized result.

Arguments

data

data frame from a balance analysis by calculateHb and calculateLb.

scope

string, summarize 'global' or 'locus'.

quant

numeric, quantile to calculate.

Details

Summarize the Hb or Lb analysis in table format with different scope. (locus, or global). Returns a dataframe with columns for marker name 'Marker', number of allele ratios 'Xb.n', the minimum observed allele ratio 'Xb.Min', the mean allele ratio 'Xb.Mean', its standard deviation 'Xb.Stdv', the XXth percentile 'Xb.Perc.XX' For more details see min, mean, sd, quantile.