Learn R Programming

bioseq (version 0.1.4)

is_aa: Test if the object is an amino acid vector

Description

This function returns TRUE for objects of class bioseq_aa

Usage

is_aa(x)

Value

Logical.

Arguments

x

An object.

Examples

Run this code
x <- c("AGGTGC", "TTCGA")
is_aa(x)
y <- aa(x)
is_aa(x)

Run the code above in your browser using DataLab