Description Usage Arguments Value
View source: R/back_convert.Internal.R
The output of the sim_single_sample function is integers, which index the variants of each of the SNPs. This function uses the allele frequency data-frame to convert these integers back to the variants (A,G,C,T).
1 | back_convert.Internal(sim_samples, allele_freq_data)
|
sim_samples |
list outputted from the sim_single_sample function. |
allele_freq_data |
tibble ouputted from the read_in_af_data function. |
A list of n_samples
elements, each corresponding to a sample. Each element is a matrix with a row for each allele, and a column for each SNP. The elements of the matrix are characters for nucleotides (A,C,G,T).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.