is_rna: Test if the object is a RNA vector

Description Usage Arguments Value Examples

View source: R/def_rna.R

Description

This function returns TRUE for objects of class bioseq_rna

Usage

1
is_rna(x)

Arguments

x

An object.

Value

Logical.

Examples

1
2
3
4
x <- c("AGGTGC", "TTCGA")
is_rna(x)
y <- rna(x)
is_rna(x)

bioseq documentation built on Nov. 26, 2020, 9:07 a.m.