Learn R Programming

AntibodyForests (version 1.1.0)

Af_get_sequences: Function to get the sequences from the nodes in an AntibodyForest object

Description

Function to get the sequences from the nodes in an AntibodyForest object

Usage

Af_get_sequences(AntibodyForests_object, sequence.name, min.nodes, min.edges)

Value

A dataframe with the sequences and sequence identifiers

Arguments

AntibodyForests_object

AntibodyForests-object, output from Af_build()

sequence.name

character, name of the sequence column in the AntibodyForests object (example VDJ_sequence_aa_trimmed)

min.nodes

integer, minimum number of nodes in the tree (not including germline)

min.edges

integer, minimum number of edges in the tree (not including edges to the germline)

Examples

Run this code
sequence_df <- Af_get_sequences(AntibodyForests::small_af,
               sequence.name = "VDJ_sequence_aa_trimmed")

Run the code above in your browser using DataLab