Description Usage Arguments Value Methods (by class) Examples
This method returns a representative sequence for each of the gene groups defined in the pangenome. Currently the methods defined for selecting sequences are 'random', 'shortest', and 'longest. In case of tie for the two latter the first occurence gets returned. Consensus sequence might be added at a latter stage.
1 2 3 4 |
object |
A pgVirtual subclass |
method |
The method to use to get a representative. Either 'random', 'shortest' or 'longest'. |
An XStringSet
object = pgVirtual,method = character
: Get a representative sequence for each gene group for
pgVirtual subclasses
1 2 3 4 | testPG <- .loadPgExample(withGroups=TRUE)
# Get a random sequence from each group
getRep(testPG, 'random')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.