EpistasisLab / EpistasisLab/tpot

Covariate adjustment for continuous and binary trait

Open
#1,209 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
10.1k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

I am trying to use ResAdjTranformer() for feature-only adjustments. How do I adjust for a continuous and binary trait together?

## Context of the issue

I have done the adjustment by individual covariates depending on their type. For example, I used linear regression to adjust Age, and for binary trait-like Sex use logistic regression.

**Here's the sample covariate file:**
Feature, Type , Covariates
Feature-1 , linear , Age
Feature-1 , logistic , Sex
Feature-2 , linear , Age
Feature-2 , logistic , Sex
...

Could I do the following and TPOT will take of the binary trait automatically?
_Feature-1, linear, Age;Sex_

Additionally, after I use ResAdjTranformer(), Is there a way to know % variance explained by each covariate across different features? If so, could you please guide me to an example?

Thank you so much for helping me in advance.

Best,
P.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.