Description Usage Arguments Value
The data frame, data
, must contain columns W
, X
,
Y
, and Z
. The function then computes the f_4(W, X; Y, Z)
statistics (also known as the D statistics) for all rows and adds these
as a column, graph_f4
, to the data frame.
1 | add_graph_f4(data, graph, env)
|
data |
The data frame to get the labels to compute the f_4 statistics from. |
graph |
The admixture graph. |
env |
The environment to evaluate the f_4 statistics in. |
A data frame identical to data
except with an additional
column, graph_f4
, containing the f_4 values as determined by
the graph and the environment.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.