Description Usage Arguments Value Methods (by class) Examples
This method checks whether the genes in the pangenome are on translated form (amino acid sequences) or not. A return value of FALSE only indicates that the storage mode for the genes is not an AAStringSet. While this leaves room for both RNA-, DNA- and BStringSet, only DNAStringSet makes much sense and is therefore assumed
1 2 3 4 | translated(object)
## S4 method for signature 'pgVirtual'
translated(object)
|
object |
A pgVirtual subclass |
A boolean indicating whether genes are translated (TRUE) or not (FALSE)
pgVirtual
: Sequence type check for pgVirtual subclasses
1 2 3 4 5 6 7 | testPG <- .loadPgExample()
# Genes are translated
translated(testPG)
# ... and therefore returned as AAStringSet instead of DNAStringSet
class(genes(testPG, subset=1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.