Plot the evolution in gene groups

Share:

Description

This method constructs a plot showing how the number of singleton, accessory and core gene groups evolve as the size of the pangenome increases. Different ways of increasing the size of the pangenome is available.

Usage

1
2
3
4
5
plotEvolution(object, ...)

## S4 method for signature 'pgVirtual'
plotEvolution(object, ordering = "bootstrap",
  times = 10)

Arguments

object

A pgVirtual subclass

...

Parameters to be passed on

ordering

An ordering of the organisms by name or index, or alternative one of 'bootstrap', 'random' or 'none'.

times

The number of sampling for ordering='bootstrap'

Value

This function is called for its side effects

Methods (by class)

  • pgVirtual: Evolution plots for pgVirtual subclasses

Examples

1
2
3
4
5
6
7
testPG <- .loadPgExample(withGroups=TRUE)

# Standard type - organisms ordered by their index in the pangenome
plotEvolution(testPG, ordering='none')

# Bootstrapped with confidence intervals
plotEvolution(testPG, ordering='bootstrap')

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.