save_lml_logs {rhierbaps} | R Documentation |
Saves the log marginal likelihoods to a text file.
save_lml_logs(hb.object, file)
hb.object |
The resulting object from runnign hierBAPS |
file |
The file you would like to save the log output to. |
snp.matrix <- load_fasta(system.file("extdata", "small_seqs.fa", package = "rhierbaps"))
hb.result <- hierBAPS(snp.matrix, max.depth=2, n.pops=20)
save_lml_logs(hb.result, file.path(tempdir(), "output_file.txt"))