layoutPlot: Create layout plot of flowcell

Description Usage Arguments Value Examples

View source: R/plotting_layout.R

Description

Creates a plot representing the layout of a MinION flow cell. Each circle represents an idividual channel with the intensity relecting the total kilobases of sequence produced. This only considers reads marked as template or complement, 2D reads are ignored as they are generated from the former two.

Usage

1
layoutPlot(summaryData, attribute = NULL)

Arguments

summaryData

Object of class Fast5Summary.

attribute

Character string indicating what to plot. Currently accepted values are: "nreads", "kb", "signal".

Value

Returns an object of gg representing the plot.

Examples

1
2
3
4
5
if( require(minionSummaryData) ) {
   data(s.typhi.rep2, package = 'minionSummaryData')
   layoutPlot( s.typhi.rep2, attribute = 'nreads' )
   layoutPlot( s.typhi.rep2, attribute = 'kb' )
}

IONiseR documentation built on Nov. 8, 2020, 6 p.m.