View source: R/prepare_snppit_infile.R
prepare_snppit_infile | R Documentation |
The meta data, S, determines who gets put into the snppit infile via a left
join. So, if it turns out that we are requsting the addition of individuals
that are not in G
, this will throw an error.
prepare_snppit_infile(
G,
S,
use_spawner_group = TRUE,
use_sex = TRUE,
min_age = 1,
max_age = 6,
geno_err = 0.005,
outf = tempfile()
)
G |
a long format data frame of SNPs. It must have, at a minimum, the columns
|
S |
a data frame of meta data with the columns |
This function is called within run_snippit()
.
Function does not return a value of any importance. The side effect of the function is to write out a snppit input file!
prepare_snppit_infile(G = coho_genotypes, S = coho_metadata)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.