create_snvs | R Documentation |
Create a table with single nucleotide variants (SNVs),
in the form of a tibble that contains the
two nucleotide calls for multiple individuals.
Each individual is represented by a row.
The first two columns are named snv_1a
, snv_1b
and
hold the genetic data for the first SNV of a diploid organism.
If there are more SNVs, columns continue with names,
snv_2a
, snv_2b
, snv_3a
, snv_3b
, etc.
In general, nucleotides are in uppercase.
create_snvs(n_snps = 1, n_individuals = 1)
n_snps |
the number of SNPs, as can be checked by check_n_snps |
n_individuals |
the number of individuals. Use check_n_individuals to check if this is a valid value |
Nothing. Will stop if the input
calc_phenotype_function
is invalid
Richèl J.C. Bilderbeek
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.