plotStat: Plot (very) basic statistics on the pangenome

Description

This method plots the number of genes in each organism and, if gene groups have been defined, the number of singleton, accessory and core gene groups.

Usage

1
2
3
4
plotStat(object, ...)

## S4 method for signature 'pgVirtual'
plotStat(object, sort = TRUE, color, ...)

Arguments

object

A pgVirtual subclass

...

Parameters passed on to color scale.

sort

logical. Should Genomes be sorted based on their number of genes

color

A metadata name to color the organisms by

Value

This function is called for its side effects

Methods (by class)

Examples

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

# Should make a nice little plot
plotStat(testPG)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.