is_dna: Test if the object is a DNA vector

View source: R/def_dna.R

is_dnaR Documentation

Test if the object is a DNA vector

Description

This function returns TRUE for objects of class bioseq_dna

Usage

is_dna(x)

Arguments

x

An object.

Value

Logical.

Examples

x <- c("AGGTGC", "TTCGA")
is_dna(x)
y <- dna(x)
is_dna(y)


bioseq documentation built on Sept. 6, 2022, 5:07 p.m.