Returns alphabet attribute of an object.

get_standard_alphabet(type)

Arguments

type

[character(1)]
The name of standard sq type - one of "dna_bsc", "dna_ext", "rna_bsc", "rna_ext", "ami_bsc" and "ami_ext".

Value

An sq_alphabet object related to passed sq type.

Details

Each of standard sq types has exactly one predefined alphabet. It allows tidysq to package to optimize type-specific operations like complement() or translate(). This function enables the user to access alphabet attribute common for all sq objects of given type.

For list of letters specific to any of these standard alphabets, see alphabet().

See also

Functions from alphabet module: alphabet()