Description Usage Arguments Value References Examples
A generic function to calculate some FST measurenments.
1 2 | ## S4 method for signature 'GENOME'
F_ST.stats.2(object,new.populations="list",subsites=FALSE,snn=TRUE,Phi_ST=FALSE)
|
object |
An object of class |
new.populations |
list of populations. default= |
subsites |
|
snn |
Snn statistic from Hudson |
Phi_ST |
Statistic from Excoffier et al. |
Returned value is an modified object of class "GENOME"
———————————————————
Following slots will be modified in the "GENOME"
object
———————————————————
Slot | Reference | Description | |
1. | Hudson.Snn | [1] | Snn statistic from Hudson (2000) |
2. | Phi_ST | [2] | Phi_ST from Excoffier (1992) |
[1] Hudson, R. R. (2000).A new statistic for detecting genetic differentiation. Genetics 155: 2011-2014.
[2] Excoffier, L., Smouse, P., Quattro, J. (1992),Analysis of molecular variance inferred from met-
ric distances among DNA haplotypes: application to human mitochondrial DNA restriction data.
Genetics 131: 479-91
1 2 3 4 5 6 7 8 | # GENOME.class <- readData("\home\Alignments")
# GENOME.class
# GENOME.class <- F_ST.stats.2(GENOME.class)
# GENOME.class <- F_ST.stats.2(GENOME.class,list(1:4,5:10))
# GENOME.class <- F_ST.stats.2(GENOME.class,
# list(c("seq1","seq5","seq3"),c("seq2","seq8")))
# show the result:
# GENOME.class@Hudson.Snn
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.