draw_wheel {helixvis}R Documentation

Create helical wheels to visualize alpha helical sequences.

Description

This function visualizes alpha-helical peptides as helical wheels. Sequences between 2 and 18 (inclusive) characters can be visualized. The residue in the upper half of the wheel lying at the horizontal center representing the amino acid at the N-terminus (first in 'sequence').

Usage

draw_wheel(sequence, col = c("grey", "yellow", "blue", "red"),
  labels = FALSE, label.col = "black", fixed = TRUE,
  legend = FALSE)

Arguments

sequence

character vector containing amino acid sequence from N-terminus to C-terminus

col

colors for each amino acid type in the following order: nonpolar residues, polar residues, basic residues, acidic residues

labels

logical value; if TRUE, one-letter residue codes are overlaid on the residue circles

label.col

character value for color of labels added if 'labels = TRUE'

fixed

if TRUE (default), ensures that residues will be circles (not ellipses) even if graphics device is rectangular

legend

if TRUE, adds legend to plot

Examples

draw_wheel("GIGAVLKVLTTGLPALIS")
draw_wheel("QQRKRKIWSILAPLGTTL")

[Package helixvis version 1.0.1 Index]