profiles.to.chars: Obtain STR repeat numbers of profiles as character matrix

Description Usage Arguments Details Value Examples

Description

Obtain STR repeat numbers of profiles as character matrix

Usage

1
profiles.to.chars(x, freqs = get.freqs(x), two.cols.per.locus = FALSE)

Arguments

x

profiles object

freqs

A list specifying the allelic frequencies. Should contain a vector of allelic frequencies for each locus, named after that locus.

two.cols.per.locus

when FALSE (default), returns "a/b", else "a" and "b" in separate columns

Details

Profiles are stored as an integer matrix, with the integers corresponding to repeat numbers found in the names attribute of the list of allelic frequencies. The current function converts the integer matrix to a character matrix with alleles.

Value

A character matrix with a column for each locus.

Examples

1
2

DNAprofiles documentation built on Jan. 15, 2017, 9:27 p.m.