Intermediate nodes are expanded/inferred based on the edge weight between two existing nodes: for example, of node 1 and node 2 are connected by an edge of weight = 3, 2 new nodes are added in-between and all resulting edges have weight = 1.

AntibodyForests_expand_intermediates(trees, parallel)

Arguments

trees

AntibodyForests object/list of AntibodyForests objects - the resulting sequence similarity or minimum spanning tree networks from the AntibodyForests function.

parallel

boolean - whether to execute the main subroutine in parallel or not. Requires the 'parallel' R package.

Value

nested list of AntibodyForests objects or single AntibodyForests object, with the resulting networks having expanded/inferred intermediate nodes.

Examples

if (FALSE) {
AntibodyForests_expand_intermediates(trees)
}