exportSNPPIT | R Documentation |
write a SNPPIT input file. Will warn about skipping loci with > 2 alleles.
exportSNPPIT(
x,
filename,
baseline,
mixture,
loci = NULL,
errorRate = 0.005,
POPCOLUMN_SEX = NULL,
POPCOLUMN_REPRO_YEARS = NULL,
POPCOLUMN_SPAWN_GROUP = NULL,
OFFSPRINGCOLUMN_BORN_YEAR = NULL,
OFFSRPINGCOLUMN_SAMPLE_YEAR = NULL,
OFFSPRINGCOLUMN_AGE_AT_SAMPLING = NULL
)
x |
an EFGLdata object |
filename |
the name of the file to write |
baseline |
a vector of pops to use as the baseline (potential parents). |
mixture |
a vector of pops to use as the mixture (potential offspring). |
loci |
a vector of loci to include. If not specified, all loci are used. |
errorRate |
per allele error rate for all loci |
POPCOLUMN_SEX |
metadata column with sex info (coded as M, F, and ?) |
POPCOLUMN_REPRO_YEARS |
metadata column with repro years |
POPCOLUMN_SPAWN_GROUP |
metadata column with spawn group |
OFFSPRINGCOLUMN_BORN_YEAR |
metadata column with birth year |
OFFSRPINGCOLUMN_SAMPLE_YEAR |
metadata column with sample year |
OFFSPRINGCOLUMN_AGE_AT_SAMPLING |
metadata column with age at sampling |
nothing, just writes a file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.