Description Usage Arguments Value Methods (by class) Note Examples
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.
1 2 3 4 5 6 7 8 9 | 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
1 2 3 4 | testPG <- .loadPgExample(withGroups=TRUE)
head(groupNames(testPG))
groupNames(testPG)[20] <- 'Gene group 20'
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.