Learn R Programming

IONiseR (version 1.2.2)

plotKmerFrequencyCorrelation: Display correlation between pentemer proportions in two time windows

Description

Plots

Usage

plotKmerFrequencyCorrelation(summaryData, kmerLength = 5, groupedMinutes = 10, only2D = TRUE)

Arguments

summaryData
Object of class Fast5Summary.
kmerLength
Specifies the length of kmers to compare. Defaults to 5 given the current pentamer reading nature of the nanopores.
groupedMinutes
Defines how many minutes each grouping of reads spans.
only2D
Logical. If TRUE kmers are computed for only full 2D reads. If FALSE 2D reads are ignored and all available template and complement strands are used.

Value

Returns an object of class gg representing the plot.

Examples

Run this code
if( require(minionSummaryData) ) {
   data(s.typhi.rep3, package = 'minionSummaryData')
   plotKmerFrequencyCorrelation( s.typhi.rep3, only2D = FALSE )
}

Run the code above in your browser using DataLab