Hi,
I am currently attempting to apply the SUMMIT method for TWAS analysis.
While studying the software source code, I noticed that in 'step2_pos.R’, on line 271, the p-value is calculated by dividing z.twas by the square root of r2.twas. According to the formula in your original article, it seems that this value is the Z score for TWAS. However, on line 272, z.twas is directly output as the Z score. Why is this the case? Could it be a misunderstanding on my part?"