Description Usage Arguments Value Author(s) See Also Examples
Propose indel length.
This method simply calls the function returned by the getProposeBy
method.
1 2 | ## S3 method for class 'GeneralInDel'
proposeLength(this, ...)
|
this |
A GeneralInDel object. |
... |
Not used. |
A numeric vector of length one (the indel length).
Botond Sipos, Gregory Jordan
For more information see GeneralInDel
.
1 2 3 4 5 6 | # create a GeneralInDel object
# proposing event lengths in the range 1:10
o<-GeneralInDel(rate=1, propose.by=function(process){sample(c(1:10),1)});
# propose indel length
proposeLength(o)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.