Skip to content

Commit

Permalink
fix: remove unnecessary lead variant id from feature matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
ireneisdoomed committed Oct 10, 2023
1 parent 427b67b commit 408a788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/otg/method/l2g_utils/feature_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def _get_tss_distance_features(
on="tagVariantId",
how="inner",
)
.groupBy("studyLocusId", "variantId", "geneId")
.groupBy("studyLocusId", "geneId")
.agg(
f.min("distance").alias("distanceTssMinimum"),
f.mean("distance").alias("distanceTssMean"),
Expand Down

0 comments on commit 408a788

Please sign in to comment.