Skip to content

Clarification needed on --flip argument #19

@RiccardoIannaco

Description

@RiccardoIannaco

Hi,
I am not sure about the exact purpose of the --flip argument as described in the README:

G2PT/README.md

Line 28 in e4d2987

* _--flip_ argument will flip ref. and alt. allele (`--flip` argument, which make homozygous ref. as 2)

Is this intended only for merging datasets with different ref/alt conventions, or is there another reason to use it in this pipeline? Some more context or examples would be super helpful.

This doubt arose because, when training with my own data, the model (even as epochs increased) kept returning R² values close to zero, but never positive value. In the prediction files generated by predict_attention.py, the prediction column had the same (or almost the same) predicted phenotype for every individual, no significant variability at all. As epochs went up, that value seemed to approach the mean phenotype, but never showed significant differences between patients. This made me suspect a possible error with my input PLINK data.
Any ideas or suggestions? Could the use (or lack) of --flip cause this behavior?

Thanks again for your support and for sharing this tool.
Riccardo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions