These functions were copied from package strataG, which is no longer on CRAN (maintained by Eric Archer)
utils.structure.run(
g,
k.range = NULL,
num.k.rep = 1,
label = NULL,
delete.files = TRUE,
exec = "structure",
...
)a gtypes object [see strataG].
vector of values to for maxpop in multiple runs. If set
to NULL, a single STRUCTURE run is conducted with maxpops
groups. If specified, do not also specify maxpops.
number of replicates for each value in k.range.
label to use for input and output files
logical. Delete all files when STRUCTURE is finished?
name of executable for STRUCTURE. Defaults to "structure".
arguments to be passed to structureWrite.
structureRuna list where each element is a
list with results from structureRead and a vector of the filenames
used
structureWritea vector of the filenames used by STRUCTURE
structureReada list containing:
summarynew locus name, which is a combination of loci in group
q.matdata.frame of assignment probabilities for each id
prior.anclist of prior ancestry estimates for each individual where population priors were used
filesvector of input and output files used by STRUCTURE
labellabel for the run