Description Usage Arguments Value Author(s) References Examples
View source: R/pre_sampletrees.R
This function is used to read in settings for a sampletrees run that have been previously saved to a file.
1 |
filename |
The name of the input file with the sampletrees settings |
check |
If TRUE, error checking of the settings will be done (default=TRUE) |
Returns an object of class 'pars' with settings from the input file
Kelly Burkett
Burkett KM, McNeney B, Graham J. Sampletrees and Rsampletrees: sampling gene genealogies conditional on SNP genotype data. Bioinformatics. 32:1580-2, 2016
1 2 3 4 5 | filename=paste(path.package("Rsampletrees"),"/extdata/example_g_pars",sep="")
runpars=readArgs(filename, check=FALSE)
runname=paste(path.package("Rsampletrees"),"extdata",runpars$RunName, sep="/")
runpars=changeArgs(runpars, RunName=runname)
print.pars(runpars)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.