plotKmerFrequencyCorrelation {IONiseR} | R Documentation |
Plots
plotKmerFrequencyCorrelation(summaryData, kmerLength = 5, groupedMinutes = 10, only2D = TRUE)
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. |
Returns an object of class gg
representing the plot.
if( require(minionSummaryData) ) { data(s.typhi.rep3, package = 'minionSummaryData') plotKmerFrequencyCorrelation( s.typhi.rep3, only2D = FALSE ) }