Transfer: Algorithm for a fast calculation of the Transfer index

Description Usage Arguments Examples

View source: R/transfer_dist.R

Description

The Transfer index can be used to calculate the proportion of species/sequences of community X that have been affected by horizontal gene transfers from species/sequences of community Y. The Transfer index is assymetric. If the threshold alpha (0<alpha<1) is satisfied, the distance is incremented. The operation is repeated for every node of the network. The result is a pairwise matrix reporting the Transfer index for each pair of species communities.

Usage

1
Transfer(graph)

Arguments

graph

The igraph object

Examples

1
Transfer(net_a)

XPHenry/Netfrac documentation built on Jan. 29, 2020, 12:14 p.m.