lolliplot_buildMain {GenVisR} | R Documentation

## Construct Lolliplot

### Description

Construct Lolliplot given gene and mutation data

### Usage

    lolliplot_buildMain(gene_data, length, mutation_observed, mutation_observed2,
      fill_value, label_column, plot_text_angle, plot_text_size, point_size,
      gene_colour, sequence_data, plot_sidechain = FALSE, layers = NULL,
      paletteA = NULL, paletteB = NULL)

### Arguments

`gene_data` | object of class dataframe giving protien domain and gene information
`length` | integer specifying the length of the protien in amino acids
`mutation_observed` | object of class data frame specifying mutations observed in input file
`mutation_observed2` | optional object of class data frame specifying additional mutations for bottom track
`fill_value` | character string specifying the column on which to colour mutation points
`label_column` | character string specifying the column containing the labels to attach to mutation points
`plot_text_angle` | numeric value specifying the angle of text to be plotted
`plot_text_size` | numeric value specifying the size of text to be plotted
`point_size` | numeric value specigying the size of mutation points
`gene_colour` | color to shade plotted gene
`sequence_data` | object of class dataframe giving AA sequence, sidechain, and coord required if plot_sidechain is true
`plot_sidechain` | boolean specifying whether to plot the AA sidechain instead of domain information
`layers` | additional ggplot2 layers to plot
`paletteA` | Character vector specifying colours for gene features
`paletteB` | Character vector specifying colours for lolli features

### Value

a ggplot2 object

[Package GenVisR version 1.8.1 Index]