is_rna: Test if the object is a RNA vector

View source: R/def_rna.R

is_rnaR 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)


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