StructureOpts: Create StructureOpts object

Description Usage Arguments See Also Examples

Description

This function creates a new StructureOpts object.

Usage

1
2
3
4
StructureOpts(NUMRUNS = 2, MAXPOPS = 2, BURNIN = 10000, NUMREPS = 20000,
  NOADMIX = FALSE, ADMBURNIN = 500, FREQSCORR = TRUE,
  SEED = sample.int(1e+05, NUMRUNS), UPDATEFREQ = max(floor(BURNIN +
  NUMREPS)/1000, 1))

Arguments

NUMRUNS

numeric Number of replicate Structure runs. Defaults to 2.

MAXPOPS

numeric Number of populations assumed. Defaults to 2.

BURNIN

numeric Length of burnin period. Defaults to 10000.

NUMREPS

numeric Number of MCMC iterations for inference. Defaults to 20000.

NOADMIX

logical Do not use admixture model. Defaults to FALSE.

ADMBURNIN

numeric Initial period of burnin with admixture model. Defaults to 500.

FREQSCORR

logical Allele frequencies are correlated among populations? Defaults to TRUE.

SEED

numeric Seed for random number generator. Defaults to NA so a random seed is used.

UPDATEFREQ

numeric Frequency to store updates to loglikelihood for traceplots. Defaults to yield 1000 frequencies.

See Also

StructureOpts-class.

Examples

1
2
3
StructureOpts(NUMRUNS=2, MAXPOPS=2, BURNIN=10000,
  NUMREPS=20000, NOADMIX=FALSE, ADMBURNIN=500, 
  FREQSCORR=TRUE, SEED=1:2, UPDATEFREQ=100)

jeffreyhanson/structurer documentation built on May 19, 2019, 4:01 a.m.