# NOT RUN {
# create alphabet object
a<-Alphabet(symbols=c("A","T","G","C"));
# check if it has the symbols "A" and "G"
hasSymbols(a,c("A","G"))
# check if has the symbol "X"
hasSymbols(a,"X")
# any alphabet returns true for every symbol
b<-AnyAlphabet();
hasSymbols(b,"X")
# }
Run the code above in your browser using DataLab