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

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

## End(Not run)

AntibodyForests documentation built on Aug. 8, 2025, 6:49 p.m.