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
plotStat(object, ...)
"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
Run this codetestPG <- .loadPgExample(withGroups=TRUE)
# Should make a nice little plot
plotStat(testPG)
Run the code above in your browser using DataLab