Learn R Programming

IONiseR (version 1.2.2)

layoutPlot: Create layout plot of flowcell

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

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

Run this code
if( require(minionSummaryData) ) {
   data(s.typhi.rep2, package = 'minionSummaryData')
   layoutPlot( s.typhi.rep2, attribute = 'nreads' )
   layoutPlot( s.typhi.rep2, attribute = 'kb' )
}

Run the code above in your browser using DataLab