nGenes {FindMyFriends} | R Documentation |
This method returns the total number of genes in a pangenome (i.e. the sum of genes in each organism in the pangenome)
nGenes(object) ## S4 method for signature 'pgVirtual' nGenes(object)
object |
A pgVirtual subclass |
An integer giving the number of genes in the object
pgVirtual
: The number of genes in the pangenome for pgVirtual
subclasses.
testPG <- .loadPgExample() nGenes(testPG)