Print the full log output of an admixr wrapper to the console.
loginfo(x, target = NA, save = FALSE, prefix = NA, dir = ".", suffix = ".txt")
Output from one of the admixr wrappers (d, f4, qpAdm, ...)
A specific log to examine (relevant for multiple target qpAdm runs)
Save the log output to a disk?
Prefix of the output log file(s) (name of the admixr command by default)
In which directory to save the log file(s)?
Suffix of the output log file(s) (".txt" by default)
if (FALSE) # 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
)
#> Error in eval(expr, envir, enclos): object 'snps' not found
# examine the full log output associated with the returned object
loginfo(result_d)
#> Error in eval(expr, envir, enclos): object 'result_d' not found