Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change type of "pc_cols" param in ancestry function from hl.expr.ArrayExpression to List[int] to help track PCs that were used in RF model #448

Merged
merged 6 commits into from
May 17, 2022

Conversation

klaricch
Copy link
Contributor

@klaricch klaricch commented May 4, 2022

No description provided.

gnomad/sample_qc/ancestry.py Outdated Show resolved Hide resolved
gnomad/sample_qc/ancestry.py Outdated Show resolved Hide resolved
@klaricch klaricch requested a review from jkgoodrich May 4, 2022 21:29
Copy link
Contributor

@jkgoodrich jkgoodrich left a comment

Choose a reason for hiding this comment

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

I think this works and is a bit cleaner, but again I'm open to suggestions if you think it's better to pass in names as you were doing originally.

One thing to note is that this needs to have a label change of breaking change instead of ignore with the new changes

gnomad/sample_qc/ancestry.py Outdated Show resolved Hide resolved
gnomad/sample_qc/ancestry.py Show resolved Hide resolved
@jkgoodrich
Copy link
Contributor

@klaricch I think this one is back to you

@klaricch klaricch changed the title add "pc_names" param to help track PCs that were used in RF model Change type of "pc_cols" param in ancestry function from hl.expr.ArrayExpression to List[int] to help track PCs that were used in RF model May 17, 2022
@klaricch klaricch requested a review from jkgoodrich May 17, 2022 17:57
Copy link
Contributor

@jkgoodrich jkgoodrich left a comment

Choose a reason for hiding this comment

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

LGTM

@jkgoodrich jkgoodrich merged commit 00365eb into main May 17, 2022
@jkgoodrich jkgoodrich deleted the pc_names branch May 17, 2022 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants