Skip to content

Remove --file-pheno, --col-pheno and --col-pheno-from-fam args in ldpred2.R scripts#142

Merged
ofrei merged 6 commits intomainfrom
fix-124
Mar 8, 2023
Merged

Remove --file-pheno, --col-pheno and --col-pheno-from-fam args in ldpred2.R scripts#142
ofrei merged 6 commits intomainfrom
fix-124

Conversation

@espenhgn
Copy link
Contributor

@espenhgn espenhgn commented Mar 1, 2023

Fixes #124.

Changes proposed in this pull request:

  • Remove --file-pheno, --col-pheno, --col-pheno-from-fam options fromldpred2.R scripts.
  • Remove correlation calculations between PGS and phenotype.

Before submitting

  • I've read and followed all steps in the Making a pull request
    section of the CONTRIBUTING docs.
  • I've updated or added any relevant docstrings following the syntax described in the
    Writing docstrings section of the CONTRIBUTING docs.
  • If this PR fixes a bug, I've added a test that will fail without my fix.
  • If this PR adds a new feature, I've added tests that sufficiently cover my new functionality.

@espenhgn espenhgn changed the title fix ldpred2.R script if --file-pheno is used fix ldpred2.R script if --file-pheno is used Mar 1, 2023
@espenhgn espenhgn added the bug-fix fixes a bug label Mar 1, 2023
@espenhgn espenhgn marked this pull request as draft March 1, 2023 10:02
@espenhgn espenhgn changed the title fix ldpred2.R script if --file-pheno is used Remove --file-pheno, --col-pheno and --col-pheno-from-fam args for ldpred2.R scripts Mar 6, 2023
@espenhgn espenhgn changed the title Remove --file-pheno, --col-pheno and --col-pheno-from-fam args for ldpred2.R scripts Remove --file-pheno, --col-pheno and --col-pheno-from-fam args in ldpred2.R scripts Mar 6, 2023
@espenhgn espenhgn marked this pull request as ready for review March 6, 2023 15:40
@espenhgn espenhgn requested a review from deepchocolate March 6, 2023 15:40
Copy link
Contributor

@deepchocolate deepchocolate left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, many thanks!

@ofrei ofrei merged commit bf629ce into main Mar 8, 2023
@espenhgn espenhgn deleted the fix-124 branch April 25, 2023 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug-fix fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LDpred2 issue with MoBa data(?)

3 participants