newick_to_Af: Converts files with phylogenetic trees in newick format into an AntibodyForests object.
Description
Converts files with phylogenetic trees in newick format into an AntibodyForests object. Make sure that the germline node is called "germline" and that every line represents a new tree in the newick file. All trees in the same file should be from the same sample.
Usage
newick_to_Af(file.list, file.dir)
Value
AntibodyForests object
Arguments
file.list
list - list of newick files to be converted to AntibodyForests object. Could be a named list where the names correspond to sample IDs.
file.dir
directory - directory where the newick files are stored. If provided, the function will read all newick files in the directory.