Description Usage Arguments Details
View source: R/translateGenotypes.R
Translate genotypes
1 | translateGenotypes(input, ref_tbl, long = FALSE, output = NA, ...)
|
input |
A data.frame or a (relative) path to a file of alleles to be
translated. Fixed columns are name of the laboratory, which should match
those from |
ref_tbl |
A data.frame which holds the translation table.
Structure is fixed and the columns are |
long |
Logical. If |
output |
Character. Relative or absolute path to the file the data
should be written to. The result will have tab separated columns and no row
names. Default is |
... |
Parameters passed to read_excel. |
The shift (delta
) can be possibly calculated for some loci.
If alleles for a certain locus are missing and there's only a delta
parameter, this means that all so far examined alleles behave properly and
can be offset safely. For those that also have mapping table in
allele_from
and allele_ref
, the mapping is done 1:1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.