Skip to main content
. 2022 Sep 18;38(Suppl 2):ii5–ii12. doi: 10.1093/bioinformatics/btac455

Fig. 1.

Fig. 1.

Schematic illustration of matrices and tensors of the permGWAS architecture. (A) Commonly used matrix representation when computing sequential univariate tests, where yn is the phenotypic vector for n samples and Xjn×c denotes the matrix of fixed effects, including a column of ones for the intercept, the covariates and the jth SNP xjn. (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 yn and Xjbb×n×c is a 3D tensor containing the matrices Xj to Xj+b1. (C) 4D-tensor representation of a permutation-based batch-wise LMM. The phenotype is represented as a 4D tensor containing for each permutation (k)y the 3D tensor (k)Yb for all q permutations and qXjbq×b×n×c is a 4D tensor containing q copies of Xjb