Skip to content

Commit

Permalink
avoid drop of dimension in iHS calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
paulstaab committed Oct 22, 2015
1 parent dcd39f9 commit ba1b2ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/sumstat_ihh.R
Expand Up @@ -66,7 +66,7 @@ stat_ihh_class <- R6Class("stat_ihh", inherit = sumstat_class,
else if ((rehh_data@nsnp < 400)) freqbin <- 0.1
else freqbin <- 0.05
ihs <- suppressWarnings(ihh2ihs(ihh, freqbin))
ihh <- cbind(ihh, iHS = ihs$res.ihs[ , "iHS"])
ihh <- cbind(ihh, iHS = ihs$res.ihs[ , "iHS", drop = FALSE])
}
}

Expand Down

0 comments on commit ba1b2ca

Please sign in to comment.