Skip to content

Commit

Permalink
sub 0 with NA in metagwas [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
bschilder committed Jul 30, 2022
1 parent 8ee7105 commit 7bdccbd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/find_sumstats.R
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ find_sumstats <- function(ids = NULL,
sample_size
)) |>
data.table::data.table()
metagwas[N %in% c(NA,0,"","NA",NULL),]$N <- NA
#### Ensure data.table format ####
metagwas <- data.table::data.table(metagwas)
#### Add query col to keep track of groups ####
Expand Down

0 comments on commit 7bdccbd

Please sign in to comment.