S7 class extending TestResult for conservation-specific test results, including TXI profiles and null distributions.
Usage
ConservationTestResult(
method_name = stop("@method_name is required"),
test_stat = stop("@test_stat is required"),
fitting_dist = stop("@fitting_dist is required"),
params = stop("@params is required"),
alternative = "two-sided",
null_sample = stop("@null_sample is required"),
data_name = character(0),
p_label = "p_val",
test_txi = stop("@test_txi is required"),
null_txis = stop("@null_txis is required"),
modules = list()
)
Arguments
- method_name
Character string specifying the statistical test method
- test_stat
Numeric value of the test statistic
- fitting_dist
Character string specifying the fitted distribution
- params
Named list of distribution parameters
- alternative
Character string specifying the alternative hypothesis
- null_sample
Numeric vector of null distribution values
- data_name
Character string describing the data
- p_label
Character string for p-value label
- test_txi
Numeric vector of observed TXI values
- null_txis
Matrix of null TXI distributions from permutations
- modules
Optional list of developmental modules used in the test