groupNames {FindMyFriends} | R Documentation |
These methods lets you manipulate the naming of gene groups in the pangenome. By default organisms are numbered consecutively but this can be changed at will. New gene groups will be numbered though despite what naming scheme has been introduced before.
groupNames(object) groupNames(object) <- value ## S4 method for signature 'pgInMem' groupNames(object) ## S4 replacement method for signature 'pgInMem' groupNames(object) <- value
object |
A pgVirtual subclass |
value |
A vector with new names - will be coerced to characters |
In case of the getter a character vector with names
pgInMem
: Get gene group names for pgInMem subclasses
pgInMem
: Set gene group names for pgInMem subclasses
Required for subclasses of pgVirtual in order to extend the class system of FindMyFriends
testPG <- .loadPgExample(withGroups=TRUE) head(groupNames(testPG)) groupNames(testPG)[20] <- 'Gene group 20'