Alphabet {DiffLogo} | R Documentation |
builts an object of class Alphabet from the given set of symbols and colors
Alphabet(chars, cols, supportReverseComplement)
chars |
set of symbols |
cols |
set of colors; one for each symbol |
supportReverseComplement |
boolean whether the alphabet supports reverse complementation (like DNA/RNA) or not (like ASN) |
the Alphabet object
Martin Nettling
DNA = Alphabet(c("A","C","G","T"),c("green4","blue","orange","red"),TRUE)