Description Usage Arguments Details Value Examples
Obtain STR repeat numbers of profiles as character matrix
1 | profiles.to.chars(x, freqs = get.freqs(x), two.cols.per.locus = FALSE)
|
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 |
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.
A character matrix with a column for each locus.
1 2 | data(freqsNLsgmplus)
profiles.to.chars(sample.profiles(N=2,freqs=freqsNLsgmplus))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.