Description Usage Details Examples
View source: R/hf.alignment.stats.R
Takes in a PopGenome GENOME object (from PopGenome::readData) and calculates basic population genetics statistics. Uses afufs if needed. Returns a data frame with most of the statistics. The original GENOME object is modified as normal by the PopGenome functions.
1 | hf.alignment.stats(go, slide = F, window = 1000, step = 500)
|
Runs these functions from PopGenome: diversity.stats neutrality.stats
1 2 3 4 5 6 | ## Not run:
fasta_file <- "name_of_aligned.fasta"
pg.object <- hf.readData(fasta_file)
pg.dataframe <- hf.alignment.stats(pg.object)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.