Plot (very) basic statistics on the pangenome

Share:

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)

  • pgVirtual: Plot basic statistics for pgVirtual subclasses

Examples

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

# Should make a nice little plot
plotStat(testPG)

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