Skip to contents

tp_parse_host_rep takes TreePPL json output from inference with the model of host repertoire evolution and returns a data.frame

Usage

tp_parse_host_rep(treeppl_out, n_runs = 1)

Arguments

treeppl_out

a character vector giving the TreePPL json output produced by tp_treeppl.

n_runs

a base::integer giving the number of runs (MCMC) or sweeps (SMC).

Value

A list (n = n_runs) of data frames with the output from inference in TreePPL under the host repertoire evolution model.