Description Usage Arguments Examples
Print the full log output of an admixr wrapper to the console.
1 |
x |
Output from one of the admixr wrappers (d, f4, qpAdm, ...) |
target |
A specific log to examine (relevant for multiple target qpAdm runs) |
save |
Save the log output to a disk? |
prefix |
Prefix of the output log file(s) (name of the admixr command by default) |
dir |
In which directory to save the log file(s)? |
suffix |
Suffix of the output log file(s) (".txt" by default) |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run: # download an example genomic data set and prepare it for analysis
snps <- eigenstrat(download_data(dirname = tempdir()))
# define a set of populations to analyze and calculate a D statistic
pops <- c("French", "Sardinian", "Han", "Papuan", "Khomani_San", "Mbuti", "Dinka")
result_d <- d(
W = pops, X = "Yoruba", Y = "Vindija", Z = "Chimp",
data = snps
)
# examine the full log output associated with the returned object
loginfo(result_d)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.