Skip to contents

This function takes a RNA sequence as input and removes any characters other than A, C, G, and T.

Usage

clean_RNA_sequence(sequence)

Arguments

sequence

RNA sequence to be cleaned

Value

Cleaned RNA sequence

Examples

clean_RNA_sequence("AUGUCGTAGCTAGCTN")
#> [1] "AUGUCGAGCAGC"
# Output: "AUGUCGAGCAGC"