Description Usage Arguments Value Author(s) See Also Examples
Get the ancestral object of a Sequence object.
1 2 | ## S3 method for class 'Sequence'
getAncestral(this, ...)
|
this |
A Sequence object. |
... |
Not used. |
A Sequence object or a Process object.
Botond Sipos, Gregory Jordan
For more information see Sequence
.
1 2 3 4 5 6 7 8 9 | # create a sequence object
s<-Sequence(length=4)
# get ancestral object
getAncestral(s) # newly created sequences have the "Root insertion process" as ancestral
# clone sequence
cs<-clone(s)
# get ancestral object id via virtual field
cs$ancestral$id
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.