Skip to content

Latest commit

 

History

History
65 lines (47 loc) · 2.19 KB

File metadata and controls

65 lines (47 loc) · 2.19 KB

linktree linktree website

CRAN status CRAN downloads CodeFactor R-CMD-check

linktree is a novel framework that estimates group transmission assortativity from transmission trees.

Installation

You can install linktree from CRAN:

install.packages("linktree")

Definition

Group transmission assortativity quantifies the extent to which individuals transmit within their own group compared to others. The methodology is described in our paper, and briefly discussed on YouTube.

The $\gamma$ coefficient ranges from 0 to $\infty$. It describes the excess propability of transmitting within your own group versus other groups. See get_gamma().

gamma assortativity coefficient

gamma assortativity coefficient

We can rescale $\gamma$ to the $\delta$ coefficient, which ranges from -1 to 1 using get_delta().

delta assortativity coefficient

delta assortativity coefficient

Documentation

linktree requires that you have transmission chain data (i.e. who infected whom) and group membership for each individual in the transmission chain.

For more information, check the dedicated vignette.