plotKmerFrequencyCorrelation: Display correlation between pentemer proportions in two time...

Description Usage Arguments Value Examples

View source: R/plotting_kmers.R

Description

Plots

Usage

1
2
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

1
2
3
4
if( require(minionSummaryData) ) {
   data(s.typhi.rep3, package = 'minionSummaryData')
   plotKmerFrequencyCorrelation( s.typhi.rep3, only2D = FALSE )
}

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