Learn R Programming

DiffLogo (version 1.2.1)

Alphabet: built alphabet

Description

builts an object of class Alphabet from the given set of symbols and colors

Usage

Alphabet(chars, cols)

Arguments

chars
set of symbols
cols
set of colors; one for each symbol

Value

the Alphabet object

Examples

Run this code
DNA = Alphabet(c("A","C","G","T"),c("green4","blue","orange","red"))

Run the code above in your browser using DataLab