plotEvolution: Plot the evolution in gene groups

Description Usage Arguments Value Methods (by class) Examples

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)

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')

FindMyFriends documentation built on May 31, 2017, 3:49 p.m.