Af_to_newick: Saves an AntibodyForests-object into a newick file

View source: R/Af_to_newick.R

Af_to_newickR Documentation

Saves an AntibodyForests-object into a newick file

Description

Saves an AntibodyForests-object into a newick file. The node labels will have the format node\@size where size is the size of the node.

Usage

Af_to_newick(AntibodyForests_object, min.nodes, output.file)

Arguments

AntibodyForests_object

AntibodyForests-object, output from Af_build()

min.nodes

The minimum number of nodes in a tree to calculate metrics (including the germline).

output.file

string - specifies the path to the output file

Value

No value returned, saves the newick format to the output.file

Examples


Af_to_newick(AntibodyForests_object = AntibodyForests::small_af,
              min.nodes = 2,
              output.file = "output.newick")


AntibodyForests documentation built on April 4, 2025, 4:45 a.m.