Learn R Programming

strvalidator (version 0.1)

calculateZvalue: Adds all kit information

Description

calculateZvalue Indicates heterozygosity (1) or homozygosity (2) for reference data.

Usage

calculateZvalue(data, homoCols = 2)

Arguments

data
Data frame containing at least a column named 'Marker'.
homoCols
'1' if homozygotes are given as a single allele name (e.g. 16) '2' if homozygotes are given as a double allele names (e.g. 16/16)

Value

  • data.frame the original data frame containing additional columns.

Details

'data' contains short tandem repeat (STR) marker/locus names in the required column. Based on the provided kit name other information is attached to 'data' in new columns.