Set a value of lambda and this function will filter to only show elements of Sigma(i,j) where i!=j that satisfy the following inequality: ECDF(Sigma(i,j))(0) > lambda or ECDF(Sigma(i,j))(0) < 1-lambda.

filter_sigma_ecdf(Sigma, lambda = 0.95, use_names = TRUE)

Arguments

Sigma

output of teacup_cerberus

lambda

scalar between 0 and 1 (default = 0.95)

use_names

if TRUE tries to name the hits rather than just giving indexes i,j

Value

data.frame of "hits" ranked by abs(ECDF(Sigma(i,j))(0)-0.5), first row is then the "hit" we are most confident is non-zero and large in magnitude.