genophenogram: Draw genophenogram plot

View source: R/genophenogram.R

genophenogramR Documentation

Draw genophenogram plot

Description

Draws a genophenogram plot from given data

Usage

genophenogram(
  wt.aa,
  pos,
  mut.aa,
  score,
  syn.med,
  stop.med,
  error = NULL,
  a = 0,
  grayBack = FALSE,
  img.width = 12,
  tracks = NULL,
  pixelMap = FALSE
)

Arguments

wt.aa

wildtype amino acid sequence as a vector of single characters.

pos

vector of amino acid positions

mut.aa

vector of mutant AAs

score

vector of scores

error

vector of stderr values

a

bezier transformation intensity (with -0.5 <= a <= 0.5)

grayBack

draw a gray background for incomplete maps

img.width

optional parameter to inform the drawing function of the chosen image width, allowing it to adjust the size of the legend

tracks

an optional trackdrawer object to add structural information to the plot

pixelMap

boolean flag, whether or not to return a pixel coordinate map object

Value

NULL, or a pixel coordinate map, i.e. a list with two data frames


jweile/mavevis documentation built on Oct. 30, 2023, 7:16 a.m.