compute_ccm_links: Identify the significant CCM links

Description Usage Arguments Value

View source: R/calculations-ccm.R

Description

Using the output of compute_ccm(), determine which links are significant. Significant links (x "causes" y) are where:

Usage

1
2
compute_ccm_links(ccm_results, null_quantile = 0.975,
  delta_rho_threshold = 0.1)

Arguments

ccm_results

the output from compute_ccm() that we generate the links for

null_quantile

the quantile of the surrogate which we desire the actual ccm rho to exceed (the default value of 0.975 corresponds to the upper cutoff of a 95% CI)

delta_rho_threshold

the absolute increase which we desire the actual ccm rho values to exceed, when comparing the smallest and largest library sizes

Value

A tibble with the filtered significant links, along with the values of the test statistics that were computed (delta_rho and rho_minus_upper_q_null)


ha0ye/portalDS documentation built on March 28, 2020, 1:21 p.m.