save_lml_logs: save_lml_logs

Description Usage Arguments Examples

View source: R/save_lml_logs.R

Description

Saves the log marginal likelihoods to a text file.

Usage

1
save_lml_logs(hb.object, file)

Arguments

hb.object

The resulting object from runnign hierBAPS

file

The file you would like to save the log output to.

Examples

1
2
3
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"))

gtonkinhill/rhierbaps documentation built on May 3, 2021, 9:04 p.m.