Learn R Programming

contiBAIT (version 1.0.0)

plotLGDistances,LinkageGroupList,StrandStateMatrix-method: plotLGDistances -- plots a heatmap of the distances between linkage groups

Description

plotLGDistances -- plots a heatmap of the distances between linkage groups

Usage

## S3 method for class 'LinkageGroupList,StrandStateMatrix':
plotLGDistances(object,
  allStrands, lg = "all", labels = TRUE)

Arguments

object
LinkageGroupList
allStrands
StrandStateMatrix for all linkageGroups (usually reoriented by reorientStrandTable)
lg
='all' vector of integers to determine which linkage group(s) to plot. 'all' will calculate consensus strand calls for all linkage groups and plot them side by side (default it 'all')
labels
=TRUE if TRUE, contig names will be plotted on the axes
...
additional parameters to pass to heatmap.2

Value

  • a heatplot of linkage group calls

Examples

Run this code
data("exampleLGList")
data("exampleWCMatrix")

plotLGDistances(exampleLGList, exampleWCMatrix)
plotLGDistances(exampleLGList, exampleWCMatrix, lg=1)

Run the code above in your browser using DataLab