Skip to content

Commit

Permalink
Convert to numeric for P-vaule
Browse files Browse the repository at this point in the history
  • Loading branch information
Beomjin Jang committed Jan 23, 2024
1 parent 2596222 commit 0d16d03
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GWAS/extractTopHits.R
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ extractGWAS <- function(gwas, chr, refFolder = "/sc/arion/projects/ad-omics/data
names(result)[names(col_dict) == a1Col] <- "A1"
names(result)[names(col_dict) == a2Col] <- "A2"

result$p <- as.numeric(result$p)

return(result)
}

Expand Down

0 comments on commit 0d16d03

Please sign in to comment.