This function returns TRUE for objects of class bioseq_rna

is_rna(x)

Arguments

x

An object.

Value

Logical.

Examples

x <- c("AGGTGC", "TTCGA")
is_rna(x)
#> [1] FALSE
y <- rna(x)
#> Warning: Non-standard IUPAC symbols detected for RNA: 3 characters were converted to N.
is_rna(x)
#> [1] FALSE