Convert TreePPL multi-line JSON to R phylo/multiPhylo object with associated weights
Source:R/tree_convertion.R
tp_json_to_phylo.Rdtp_json_to_phylo takes the path to a TreePPL json output and returns an
object of class phylo.
Arguments
- json_out
One of two options:
A list of TreePPL output in parsed JSON format (output from
tp_treeppl()), ORThe full path of the json file containing the TreePPL output.