A population assignment data frame to be used in Div_stats
and Dif_stats
.
Source: R/data.R
HornedLizard_Pop.Rd
Data frame containing 4 columns and 72 rows
Usage
data(HornedLizard_Pop)
Format
A data frame with 4 columns and 72 rows:
- Sample
Sample Name
- Population
Population assignment according to sNMF results (see citation)
- Longitude
Longitude
- Latitude
Latitude
...
Source
Coordinates and population names taken from Farleigh, K., Vladimirova, S. A., Blair, C., Bracken, J. T., Koochekian, N., Schield, D. R., ... & Jezkova, T. (2021). The effects of climate and demographic history in shaping genomic variation across populations of the Desert Horned Lizard (Phrynosoma platyrhinos). Molecular Ecology, 30(18), 4481-4496.
Examples
# \donttest{
data("HornedLizard_Pop")
data("HornedLizard_VCF")
Test <- Div_stats(VCF = HornedLizard_VCF, pops = HornedLizard_Pop,
ploidy = 2, write = FALSE)# }
#> Warning: The Div_Stats function has been deprecated as of PopGenHelpR v1.3.0 and will dissappear in v2.0.0. Please use the Heterozygosity function if you wish to estimate heterozygosity or the Private.alleles function if you wish to calculate the number of private alleles per population. Please use the Point_Map function if you wish to visualize the results on a map or plot.
#> Formatting has finished, moving onto calculations
#> Heterozygosity calculated, moving to private alleles
#> Private Alleles have been calculated, moving onto plotting
#> Calculations have finished, the packages used to perform file formatting and calculations were
#> vcfR, adegenet, and dartR for formatting, hierfstat to calculate heterozygosity, and poppr to calculate private alleles