build_between_within_distributions | R Documentation |
Sample to construct between- and within-host distributions of correlation for a given pair of taxa. The "within" distribution characterizes correlation of a pair of taxa within selected hosts; the "between" distribution characterizes the correlation of a given taxon with its own series across a samples of hosts.
build_between_within_distributions(
pair,
coord1,
coord2,
predictions,
selected_hosts,
verbose = TRUE
)
pair |
index of taxon pair |
coord1 |
index of taxon 1 |
coord2 |
index of taxon 2 |
predictions |
predictions data.frame subsetted to the taxa of interest |
selected_hosts |
subset of full host short name list to use |
verbose |
if TRUE, prints status comments |
data.frame of between- and within- correlation distribution samples
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.