Skip to content

Commit

Permalink
Only include IDs where sex could be predicted
Browse files Browse the repository at this point in the history
  • Loading branch information
Vera N. Karlbauer committed Mar 7, 2025
1 parent a92d462 commit 83cdc3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/4_check_matching_of_epigenetic_sex.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ fail the sex match check

```{r, predict sex with DNAm data, include= FALSE}
predictedSex <- getSex(gRatioSet_quality, cutoff=-2)
phenotype_data <- subset(phenotype_data, arrayid %in% rownames(predictedSex),)
sex_df <- phenotype_data %>%
select(personid, arrayid, reported_sex = sex) %>%
Expand Down

0 comments on commit 83cdc3c

Please sign in to comment.