| fitted.graph-class | R Documentation |
S4 class to represent a population tree or admixture graph and its underlying fitted parameter.
The dot.graph element allows to plot the graph using grViz() from the DiagrammeR package or with the dot program after writing the files (e.g., dot -Tpng inputgraph.dot in terminal). Note that the dot file may be customized (e.g., to change leave color, parameter names...).
graphThe graph in 3 column format originated from the fitted graph.params object
dot.graphThe fitted graph in dot format
scorethe score of the model (squared Mahalanobis distance between the observed and fitted basis F-statistics vectors)
bicThe Bayesian Information Criterion associated to the model
fitted.outstatsa matrix containing the target values of the fstats, the fitted values and the Z-score measuring the deviation of the fitted values from the target values in units of standard errors (i.e., Z=(fitted.value-target.value)/se(target.value))
edges.lengtha vector containing the estimated edges.length. Note finally, that the (two) edges coming from the roots are assumed of equal length (i.e., unrooted branch) as these are non-identifiable by the method.
edges.length.scaledIf drift.scaling=TRUE, the estimated edges.length in units of t/2N
edges.length.ciA matrix with two columns (or four columns if drift scaled lengths are computed) containing for each edge length (in a row) the 95% CI lower and higher bounds (columns 3 and 4 containing 95% CI lower and higher bounds of drift scaled lengths, if any)
admix.propa vector containing the estimated admixture proportions (if any)
admix.prop.cia matrix with two columns containing for each admixture proportion (in a row) the 95% CI lower and higher bounds
nodes.hetThe estimated heterozygosities for all nodes (if available; see drift.scaling argument in fit.graph)
fitted.f2.matthe matrix of all the fitted F2 statistics (obtained from fitted admixture graph parameter values) from which all the fitted fstats can be derived.
optim.resultslist containing results of the optim call
To generate fitted.graph object, see fit.graph.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.