Skip to contents

Plot read coverage of contigs/chunks with detected gaps and elevations and their associated pattern-match.

Usage

plotProActiveResults(pileup, ProActiveResults, elevFilter, saveFilesTo)

Arguments

pileup

A .txt file containing mapped sequencing read coverages averaged over 100 bp windows/bins.

ProActiveResults

The output from `ProActive()`.

elevFilter

Optional, only plot results with pattern-matches that achieved an elevation ratio (max/min) greater than the specified values. Default is no filter.

saveFilesTo

Optional, Provide a path to the directory you wish to save output to. A folder will be made within the provided directory to store results.

Value

A list containing ggplot objects

Examples

ProActivePlots <- plotProActiveResults(sampleMetagenomePileup,
                                       sampleMetagenomeResults)