get_standard_alphabet: Get standard alphabet for given type.

View source: R/alphabet.R

get_standard_alphabetR Documentation

Get standard alphabet for given type.

Description

Returns alphabet attribute of an object.

Usage

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".

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().

Value

An sq_alphabet object related to passed sq type.

See Also

Functions from alphabet module: alphabet()


michbur/tidysq documentation built on April 1, 2022, 5:18 p.m.