| calc.fixed.shared-methods | R Documentation | 
A generic function to calculate the number of fixed and shared polymorphisms.
## S4 method for signature 'GENOME'
calc.fixed.shared(object,
subsites=FALSE,
new.populations=FALSE,
fixed.threshold=1,
fixed.threshold.fst=1)
| object | An object of class  | 
| subsites | 
 | 
| new.populations | list of populations. default= | 
| fixed.threshold | Polymorphisms are considered as fixed >= threshold value | 
| fixed.threshold.fst | Polymorphisms are considered as fixed >= threshold value | 
The nucleotide diversities have to be devided by GENOME.class@n.sites to give diversities per site.
Returned value is a modified object of class "GENOME" 
 
——————————————————— 
The following slots will be modified in the "GENOME"  object 
——————————————————— 
| Slot | Reference | Description | |
| 1. | n.fixed.sites | [x] | Number of fixed sites | 
| 2. | n.shared.sites | [x] | Number of shared sites | 
| 3. | n.monomorphic.sites | [x] | Number of monomorphic sites | 
[x]
# GENOME.class <- readData("\home\Alignments")
# set.populations
# GENOME.class <- calc.fixed.shared(GENOME.class)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.