I am currently performing regression analysis on a large dataset. I had my data annotated with phenotypes.
However, after performing regression, the phenotypes aren’t preserved in the model. It helps in analysing which phenotype is not falling on the regression curve.
The only way to do is to annotate phenotypes again after regression.
gwas_log = hl.logistic_regression_rows(test=test, y=y, x=x, covariates=covariates, pass_through=pass_through) gwas_log = gwas_log.annotate(pheno=pheno_keys)
There is a
pass_through method but it only works for variants. Is there any method for samples or phenotypes?