Description Usage Arguments Value Examples
View source: R/plotting_layout.R
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.
1 | layoutPlot(summaryData, attribute = NULL)
|
summaryData |
Object of class Fast5Summary. |
attribute |
Character string indicating what to plot. Currently accepted values are: "nreads", "kb", "signal". |
Returns an object of gg
representing the plot.
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' )
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.