Learn R Programming

contiBAIT (version 1.0.0)

plotContigOrder: Plot ordering of contigs within a single linkage group.

Description

Plot ordering of contigs within a single linkage group.

Usage

plotContigOrder(contigOrder, lg)

Arguments

contigOrder
matrix from orderAllContigs with the subdivided linkage groups and the names of the contigs to plot
lg
Integer specifying the linkage group by which to plot

Value

  • A ggplot object (which will be plotted automatically if not assigned).

Examples

Run this code
#Get a data.frame of ordered contigs from cells from the same organism, aligned to the same genome
 
data("exampleLGList")
data("exampleWCMatrix")
data("exampleStrandFreq")
data("exampleReadCounts")
contigOrder <- orderAllLinkageGroups(exampleLGList, 
								     exampleWCMatrix, 
								     exampleStrandFreq, 
								     exampleReadCounts)
plotContigOrder(contigOrder)

Run the code above in your browser using DataLab