View source: R/calc_random_phenotype_values.R
calc_random_phenotype_values | R Documentation |
Calculate the phenotypic values for a trait that is random.
calc_random_phenotype_values(snvs)
snvs |
a tibble that contains the
two nucleotide calls for multiple individuals.
Each column is a haplotype, hence, for a diploid organism,
there are two columns.
Each individual is represented by a row.
Nucleotides are in uppercase.
Per SNV table, there can be only two different nucleotides,
as this is how a SNP works; a SNP from A to C is a different one (and
has a different SNP ID) than a SNP that encodes a mutation
for A to G.
Use create_snvs to create a |
Richèl J.C. Bilderbeek
t <- tibble::tibble(
snv_1a = c("A", "A", "C", "C"),
snv_1b = c("A", "C", "A", "C")
)
calc_random_phenotype_values(t)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.