makeAlignmentTilePlot: Internal CrispRVariants function for creating the...

Description Usage Arguments Value Author(s)

View source: R/plotAlignments.R

Description

Takes a matrix of characters, x and y locations and colours, creates a ggplot geom_tile plot with tiles labelled by the characters.

Usage

1
2
makeAlignmentTilePlot(m, ref, xlab, plot.text.size, axis.text.size, xtick.labs,
  xtick.breaks, tile.height)

Arguments

m

A matrix with column headings Var1: y location, Var2: x location, cols: tile fill colour, isref: transparency value text_cols: text colour

ref

The reference sequence, only used for checking the number of x-tick labels when x-tick breaks are not supplied

xlab

Label for the x axis

plot.text.size

Size for text within plot

axis.text.size

Size for text on axes

xtick.labs

x axis labels

xtick.breaks

Locations of x labels

tile.height

Controls whitespace between tiles

Value

A ggplot object

Author(s)

Helen Lindsay


CrispRVariants documentation built on Nov. 8, 2020, 11:09 p.m.