decoder_codon: Translates the standard ambiguity codes for nucleotides...

Description Usage Arguments Value See Also

Description

Translates the standard ambiguity codes for nucleotides in codon form from a pre-specified coding class to triplet designation of codons.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
decoder_codon(
  y,
  c_l,
  r_w,
  aa_1,
  aa_2,
  compact,
  codon_s,
  coding,
  rw_col,
  multsh
)

Arguments

y

numeric vector; entries in a cell corresponding to a specific sample and a specific marker.

c_l

string; marker label.

r_w

numeric; sample ID's row number in the excel file.

aa_1

string vector; vector of different amino acids.

aa_2

string vector; vector of different codons.

compact

string vector; vector of different codons in compact form.

codon_s

string vector; vector of different codons.

coding

string; coding class of the molecular marker.

rw_col

string vector; variable used to switch between row and column in case of transposed data. Namely, c("rows ", "row ", "column ", "columns ").

multsh

string; reports warnings for multiple worksheet datasets.

Value

a list of two elements: 1) a vector of codons in triplet designation on a marker corresponding to a sample in pre-specified coding class. 2) an identifier whose value is 1 if a warning takes place.

See Also

For further details see: moimport, moi_marker and corrector_string.


MLMOI documentation built on Jan. 11, 2020, 9:22 a.m.