# Creating objects to work on:
sq_unt <- sq(c("ACGPOIUATTAGACG","GGATFGHA"), alphabet = "unt")
sq_ami <- sq(c("QWERTYUIZXCVBNM","LKJHGFDSAZXCVBN"), alphabet = "ami_ext")
# Mismatched elements might be from basic type:
find_invalid_letters(sq_ami, "ami_bsc")
# But also from type completely unrelated to the current one:
find_invalid_letters(sq_unt, "dna_ext")
Run the code above in your browser using DataLab