plotEvolution {FindMyFriends} | R Documentation |
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.
plotEvolution(object, ...) ## S4 method for signature 'pgVirtual' plotEvolution(object, ordering = "bootstrap", times = 10)
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' |
This function is called for its side effects
pgVirtual
: Evolution plots for pgVirtual subclasses
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')