population_graph: Convience function to create population graph object from...

Description Usage Arguments

View source: R/population_graph.R

Description

This function is a convience function that wraps together the subset_loci() (potentially) function with the popgraph::popgraph() function (and translations from genotypes to multivariate data).

Usage

1
population_graph(x, stratum = "Population", numLoci = NULL, ...)

Arguments

x

A data.frame with locus objects

stratum

The stratum column to use as the Node designation (default="Population").

numLoci

If not NULL then how many randomly selected loci (fewer than the total) to use in the estimation.

...

Other parameters passed to the popgraph::popgraph() function.


MarianaLag/Mlag documentation built on Feb. 13, 2020, 12:30 a.m.