defaults {FindMyFriends} | R Documentation |
This method lets the user view and set the default values used for the different algorithms in FindMyFriends. Many of the parameters are reoccuring and it can become laborious to type them in at each step. These functionalities makes it easy to set defaults on a per-pangenome basis.
defaults(object) defaults(object) <- value ## S4 method for signature 'pgVirtual' defaults(object) ## S4 replacement method for signature 'pgVirtual' defaults(object) <- value
object |
A pgVirtual subclass |
value |
The new values to set |
Currently the following methods support reading defaults from a pgVirtual
object. Note that only directly named arguments are supported - arguments
passed on through the ...
-mechanism are not supported unless they are
passed to a function that support it.
A named list of default values
pgVirtual
: Default values for pgVirtual subclass objects
pgVirtual
: Set defaults for pgVirtual subclass objects
# Get all object defaults testPG <- .loadPgExample() defaults(testPG) # Set a new default defaults(testPG)$minFlank <- 2