trials.needed
estimates the number of monte carlo trials needed to estimate edgewise p-values
trials.needed(M, alpha, signed, missing.as.zero, mtc, how.close = 0.95)
integer
matrix: An adjacency matrix representing a network from which a backbone is is being extracted
real: significance level of hypothesis test(s)
boolean: TRUE for a signed backbone, FALSE for a binary backbone
boolean: should missing edges be treated as edges with zero weight and tested for significance
string: type of Multiple Test Correction to be applied; can be any method allowed by p.adjust
.
real: How close can the empirical p-value be to alpha and still be distinguishable, expressed as a proportion