run.BayeScan: Run BayeScan

Description Usage Arguments See Also Examples

Description

This function analysis data using BayeScan.

Usage

1
2
3
run.BayeScan(x, threads = 1, reps = 3, n = 5000, thin = 10, nbp = 20,
  pilot = 5000, burn = 50000, fdr = 0.1, dir = tempdir(),
  clean = TRUE)

Arguments

x

BayeScanData object.

threads

numeric number of threads used for computation. Defaults to 1.

reps

numeric number of replicate runs. Defaults to 3.

n

numeric number of outputted iterations. Defaults to 5000.

thin

numeric thinning interval size. Defaults to 10.

nbp

numeric number of pilot runs. Defaults to 20.

pilot

numeric length of pilot runs. Defaults to 5000.

burn

numeric burn-in length. Defaults to 50000.

fdr

numeric false discovery rate used to classify loic as adaptive. Defaults to 0.1.

dir

character with directory to use for analysis.

clean

logical should input and output files be deleted after analysis is finished?

See Also

BayeScanData, BayeScanOpts.

Examples

1
2
3
# run BayeScan using low number of iterations
dat <- read.BayeScanData(system.file('extdata', 'example_fstat_aflp.dat', package='bayescanr'))
x <- run.BayeScan(dat, threads=1, n=50, thin=1, nbp=10, pilot=10, burn=10)

jeffreyhanson/bayescanr documentation built on May 19, 2019, 4 a.m.