is_rna {bioseq}R Documentation

Test if the object is a RNA vector

Description

This function returns TRUE for objects of class bioseq_rna

Usage

is_rna(x)

Arguments

x

An object.

Value

Logical.

Examples

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


[Package bioseq version 0.1.4 Index]