Description Usage Arguments Value References Examples
This generic function calculates the Four-Gamete test (Hudson 1985).
1 2 3 4 | ## S4 method for signature 'GENOME'
recomb.stats(object,new.populations=FALSE,subsites=FALSE)
## S4 method for signature 'GENOME'
get.recomb(object)
|
object |
an object of class |
new.populations |
list of populations. default: |
subsites |
|
The return value is a modified object of class "GENOME"
————————————————————–
The following slots will be modified in the "GENOME"
object
————————————————————–
Hudson.RM |
Four-gamete test |
Hudson, R. K. (1985). Statistical Properties of the Number of Recombination Events in the History of a Sample of DNA Sequences Genetics 111 (1): 147-164.
1 2 3 4 5 6 7 8 9 | # GENOME.class <- readData("\home\Alignments")
# GENOME.class
# GENOME.class <- recomb.stats(GENOME.class)
# GENOME.class <- recomb.stats(GENOME.class,list(1:7,8:12))
# show the result:
# recomb.values <- get.recomb(GENOME.class)
# recomb.values[[1]] # first population !
# GENOME.class@region.stats@Hudson.RM
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.