R/clean_RNA_sequence.R
clean_RNA_sequence.Rd
This function takes a RNA sequence as input and removes any characters other than A, C, G, and T.
clean_RNA_sequence(sequence)
RNA sequence to be cleaned
Cleaned RNA sequence
clean_RNA_sequence("AUGUCGTAGCTAGCTN") #> [1] "AUGUCGAGCAGC" # Output: "AUGUCGAGCAGC"