S7 class for storing and manipulating statistical test results from phylotranscriptomic conservation tests.
TestResult(
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"
)A TestResult object
Character string identifying the test method
Numeric test statistic value
Distribution object used for null hypothesis testing
List of fitted distribution parameters
Character string specifying alternative hypothesis ("two-sided", "less", "greater")
Numeric vector of null distribution samples
Character string naming the dataset (optional)
Character string for p-value label (default: "p_val")
The TestResult class provides computed properties including: - `p_value`: Computed p-value based on test statistic and fitted distribution