stephenslab / susieR

R package for "sum of single effects" regression.
https://stephenslab.github.io/susieR
Other
174 stars 44 forks source link

scaled_prior_variance > 1 not allowed #95

Closed pcarbo closed 4 years ago

pcarbo commented 4 years ago

Not sure why that is now allowed. Also, the error message is incorrect:

if (!is.numeric(scaled_prior_variance) || scaled_prior_variance < 0 || scaled_prior_variance > 1)
    stop("Scaled prior variance should be positive number.")