orgNames {FindMyFriends} | R Documentation |
These methods lets you manipulate the naming of organisms in the pangenome. By default organisms are named after the fasta file they are defined by, but this can be changed at will.
orgNames(object) orgNames(object) <- value ## S4 method for signature 'pgInMem' orgNames(object) ## S4 replacement method for signature 'pgInMem' orgNames(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 organism names for pgInMem subclasses
pgInMem
: Set organism names for pgInMem subclasses
Required for subclasses of pgVirtual in order to extend the class system of FindMyFriends
testPG <- .loadPgExample() orgNames(testPG) orgNames(testPG)[3] <- 'Organism 3'