phe_fun
function is used to generate new phenotype file.
When this function is not given, the phenotype file from the PlGwasC object will be
permuted and used as the new phenotype file (permutation analysis). Thus when no phe_fun
is supplied, this function can be used to survey p-values under the null distribution.
A threshold for Genome-wide significance can be calculated from these p-values by 5
any other alpha-level) quantile.
runTypeI(pl_gwas, n_shift, n_simu, phe_fun = NULL, dist_threshold = 5e+05, p_threshold = NULL, collapse_matrix = NULL, rm_shifted_files = TRUE)
n_shift
for each GCDH run.assocFilter
first.phe_fun
, then this list will be non-empty,
otherwise it will be empty. (3) a list of reports from all the GCDH analysis. (4) global minimal p-values of the single-SNP
approach. (4) global minimal p-values of GCDH.