Description Usage Arguments Value Author(s) See Also Examples
Get the character representation of an Event object.
The character represenation of an Event object has the following format:
"event name" ("event rate") <ā "generator process id", like "A->T (0.333333333333333) <-- JC69:Anonymous:44780832"
.
1 2 | ## S3 method for class 'Event'
as.character(x, ...)
|
x |
An Event object. |
... |
Not used. |
A character vector of length one.
Botond Sipos, Gregory Jordan
For more information see Event
.
1 2 3 4 5 6 7 8 9 | # create a sequence and attach a process
s<-NucleotideSequence(string="ATGC",processes=list(list(JC69())))
# get the first active event from the first site
e<-s$sites[[1]]$events[[1]]
# get the character representation of e
as.character(e)
# or more simply
e
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.