Description Usage Arguments See Also Examples
View source: R/StructureAnalysis.R
This function analyses data using Structure. It generates replicate runs for a single MAXPOPS parameter.
1 2 3 4 5 | run.single.Structure(x, NUMRUNS = 2, MAXPOPS = 2, BURNIN = 10000,
NUMREPS = 20000, NOADMIX = FALSE, ADMBURNIN = 500, FREQSCORR = TRUE,
UPDATEFREQ = max(floor(BURNIN + NUMREPS)/1000, 1), M = "Greedy",
W = TRUE, S = FALSE, REPEATS = 1000, dir = tempdir(), clean = TRUE,
verbose = FALSE, threads = 1, SEED = sample.int(1e+05, NUMRUNS))
|
x |
|
NUMRUNS |
|
MAXPOPS |
|
BURNIN |
|
NUMREPS |
|
NOADMIX |
|
ADMBURNIN |
|
FREQSCORR |
|
UPDATEFREQ |
|
M |
|
W |
|
S |
|
REPEATS |
|
dir |
|
clean |
|
verbose |
|
threads |
|
SEED |
|
1 2 3 4 | # run Structure using low number of iterations
dat <- read.StructureData(system.file('extdata', 'example_fstat_aflp.dat', package='structurer'))
x <- run.single.Structure(dat, NUMRUNS=1, MAXPOPS=2, BURNIN=10,
NUMREPS=10, NOADMIX=FALSE, ADMBURNIN=10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.