Translates the nucleotide ambiguity codes as defined in DNA Sequence Assembler from a pre-specified coding class to 4-letter codes.
decoder_snp(
y,
c_l,
r_w,
ambeguity_code,
represented_bases,
coding,
rw_col,
multsh
)
a list of two elements: 1) a vector of represented bases on a marker corresponding to a sample in pre-specified coding class. 2) an identifier whose value is 1 if a warning takes place.
numeric vector; entries in a cell corresponding to a specific sample and a specific marker.
string; marker label.
numeric; sample ID's row number in the excel file.
string vector; ambeguity codes for snp data.
string vector; represented bases for those ambeguity codes.
string; coding class of the molecular marker.
string vector; variable used to switch
between row and column in case of transposed data.
Namely, c("rows ", "row ", "column ", "columns
")
.
string; reports warnings for multiple worksheet datasets.
For further details see: moimport
,
moi_marker
and
corrector_string
. See also the vignette
'StandardAmbiguityCodes'.