colTDTmaxTest additionally computes permutation-based p-values.
colTDTmaxTest(geno, perm = 10000, size = 50, chunk = 10000, minimum = 0.001, verbose = FALSE)
colTDTmaxStat(geno, size = 50)
"print"(x, top = 5, digits = 4, ...)
"print"(x, top = 5, digits = 4, ...)NA.
This matrix might be generated from a ped-file by, e.g., employing ped2geno.
maxTestTrio or maxTestStat, i.e. the output of colTDTmaxTest or of colTDTmaxStat.top, then the statistics for all interactions are printed in the order of their computation. Otherwise, they
the top Top interactions are printed.
colTDTmaxStat, an object of class maxStatTrio consisting of a vector stat containing the values of the Max
statistic for the SNPs in geno, a matrix max.stat containing the values of the gTDT statistic for testing an additive, a dominant,
and a recessive effect, and additional information required by colTDTmaxTest.For colTDTmaxTest, an object of class maxTestTrio consisting of stat, max.stat, and the unadjusted
p-values pval corresponding to stat.
tdt
# Load the simulated data.
data(trio.data)
# Perform a MAX test by only computing the MAX statistics.
max.out <- colTDTmaxStat(mat.test)
# Permutation-based p-values are additionally computed when using
max.out2 <- colTDTmaxTest(mat.test)
Run the code above in your browser using DataLab