plotStat: Plot (very) basic statistics on the pangenome

Description Usage Arguments Value Methods (by class) Examples

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)

thomasp85/FindMyFriends documentation built on April 25, 2020, 1:06 p.m.