Hello everyone, I want to predict gene expression from genotype file and already developed elastic net model. My model file look like this: GENE RSID1 RSID2 VALUE ENSG00000107937.18 rs7475652 rs7475652 0.531316876443232 ENSG00000107937.18 rs7475652 rs7918643 -0.1434806647803035 ENSG00000107937.18 rs7475652 rs3125034 0.1434806647803035 ENSG00000107937.18 rs7475652 rs3750730 0.01937424789410349
The formula that I should use is this: y=ΣwXiXj y=gene expression,w=weights,xi=genotype,xj=genotype I am confused as to how should I use this formula since one gene has many rsid values or weights value. Does anyone know how to predict gene expression from genotype file based on a elastic net model?
cross posted : https://stackoverflow.com/questions/72504516/