Learn R Programming

bioseq (version 0.1.4)

is_rna: Test if the object is a RNA vector

Description

This function returns TRUE for objects of class bioseq_rna

Usage

is_rna(x)

Value

Logical.

Arguments

x

An object.

Examples

Run this code
x <- c("AGGTGC", "TTCGA")
is_rna(x)
y <- rna(x)
is_rna(x)

Run the code above in your browser using DataLab