Learn R Programming

AntibodyForests (version 1.1.0)

Af_to_newick: 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)

Value

No value returned, saves the newick format to the 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

Examples

Run this code
if (FALSE) {
Af_to_newick(AntibodyForests_object = AntibodyForests::small_af,
              min.nodes = 2,
              output.file = "output.newick")
}

Run the code above in your browser using DataLab