drawSimpleLogo: draw a simple weblogo

Description Usage Arguments

Description

draws a simple web logo for a matrix of values.

Usage

1
(data, col, lttrs = rownames(data), bgcol = "white", ...)

Arguments

data

a numerical matrix with rownames corresponding to the letters to be drawn.

col

a named vector of colors to be used for each letter.

lttrs

the letters corresponding to the rows in the matrix, defaults to the matrix's colnames.

bgcol

the background color used to fill cut-out parts of letters

...

Other parameters to be passed to the plot() function.


jweile/rlogo documentation built on May 7, 2019, 2:32 p.m.