pgMatrix {FindMyFriends} | R Documentation |
This method lets you extract the pangenome matrix of the pangenome. It is not possible to directly change the pangenome matrix as it not necessary stored in the object but might be calculated on request. Either way the pangenome matrix is a function of the gene grouping and should be changed by changing the gene grouping instead of being manipulated downstream.
pgMatrix(object) ## S4 method for signature 'pgVirtual' pgMatrix(object)
object |
A pgVirtual subclass |
A matrix with organisms as columns and gene groups as rows
pgVirtual
: Get pangenome matrix for pgVirtual subclasses
testPG <- .loadPgExample(withGroups=TRUE) head(pgMatrix(testPG))