View source: R/func__geoTempAnalyser__getAllelesEarliestAppearance.R
getAllelesEarliestAppearance | R Documentation |
For a group of alleles, this function returns the earliest occurrence time and country of each allele.
getAllelesEarliestAppearance(alleles, pam, sam)
alleles |
A vector of allele names. |
pam |
A presence-absence matrix of these alleles. It may come from the element pam in the output list of the function ringPlotPAM. |
sam |
A data frame of sample information. Required columns: Strain, Country, Year_low and Year_up. |
Yu Wan (wanyuac@126.com)
emg_1 <- getAllelesEarliestAppearance(alleles = targets, pam = rp_1$pam, sam = sam)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.