Fig. 1.
Schematic illustration of matrices and tensors of the permGWAS architecture. (A) Commonly used matrix representation when computing sequential univariate tests, where is the phenotypic vector for n samples and denotes the matrix of fixed effects, including a column of ones for the intercept, the covariates and the jth SNP . (B) 3D-tensor representation of a LMM to compute univariate tests batch-wise. The phenotype is represented as a 3D tensor containing b copies of the phenotype vector and is a 3D tensor containing the matrices to . (C) 4D-tensor representation of a permutation-based batch-wise LMM. The phenotype is represented as a 4D tensor containing for each permutation the 3D tensor for all q permutations and is a 4D tensor containing q copies of
