Description Usage Arguments Details Value References See Also Examples
Compute XP-EHH (standardized ratio of iES of two populations).
1 2 3 4 5 6 7 8 9 10 11 12 |
scan_pop1 |
a data frame with markers in rows and columns with chromosome name, position of the
marker, frequency of the ancestral allele and iES as obtained by |
scan_pop2 |
a data frame with markers in rows and columns with chromosome name, position of the
marker, frequency of the ancestral allele and iES as obtained by |
popname1 |
short ID/name of the first population; to be added to an output column name. |
popname2 |
short ID/name of the second population; to be added to an output column name. |
min_nhaplo |
discard positions where in at least one of the populations fewer than |
standardize |
logical. If |
include_freq |
logical. If |
p.side |
side to which refers the p-value. Default |
p.adjust.method |
method passed to function |
verbose |
logical. If |
Log ratio of iES (population 1 over population 2) computed as described in Sabeti et al. (2007). Note that the two data frames are merged on the basis of chromosome and position. Marker names are kept, if they are identical and unique in both data frames.
Since the standardized XP-EHH values follow, if markers evolve predominantly neutrally, approximately
a standard Gaussian distribution, it is practical to assign to the values a p-value relative
to the null-hypothesis of neutral evolution. The parameter p.side
determines
if the p-value is assigned to both sides of the distribution or to one side of interest.
The returned value is a data frame with markers in rows and columns for chromosome name, marker position, XP-EHH and, if standardized, p-value in a negative log10 scale. Optionally, allele frequencies are included.
Gautier, M. and Naves, M. (2011). Footprints of selection in the ancestral admixture of a New World Creole cattle breed. Molecular Ecology, 20, 3128-3143.
Sabeti, P.C. et al. (2007). Genome-wide detection and characterization of positive selection in human populations. Nature, 449, 913-918.
scan_hh
, distribplot
, manhattanplot
1 2 3 4 5 |
Scan of pop1 contains 44057 markers.
Scan of pop2 contains 44057 markers.
Merged data contains 44057 markers.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.