geneWidth {FindMyFriends} | R Documentation |
This method extracts the width (i.e. number of residues) of each gene in the pangenome.
geneWidth(object) ## S4 method for signature 'pgLM' geneWidth(object) ## S4 method for signature 'pgFull' geneWidth(object) ## S4 method for signature 'pgSlim' geneWidth(object)
object |
A pgVirtual subclass |
An integer vector with the length of each sequence
pgLM
: Get gene width for pgLM and subclasses
pgFull
: Get gene widths for pgFull and subclasses
pgSlim
: Throws error for pgSlim
Required for subclasses of pgVirtual in order to extend the class system of FindMyFriends
testPG <- .loadPgExample() head(geneWidth(testPG))