Learn R Programming

bioseq (version 0.1.1)

is_dna: 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

Run this code
# NOT RUN {
x <- c("AGGTGC", "TTCGA")
is_dna(x)
y <- dna(x)
is_dna(y)

# }

Run the code above in your browser using DataLab