Closed dtaylo95 closed 2 years ago
@dtaylo95 i see a syntax error here:
shat=sumstats$sebetahat=z_scores,
perhaps that's what caused it?
@gaow Thanks for your prompt reply. I actually must have copied the code incorrectly here. I just edited the initial issue with the code that I actually ran, and it is indeed still not working.
@dtaylo95 Please make sure you using the latest version of susieR available from CRAN or GitHub.
That worked, I had thought I had the latest version. My mistake, and thank you so much!
Just to summarise, it seems there was a bug in susieR
v<12 that caused this error. It has since been fixed in susieR
v>=12, so i think the general advice would be to avoid using earlier releases of susieR
.
i'm not sure it was a bug. We made changes to the susie_rss
interface
and updated the example, and I think the issue is that
the example is then incompatible with
older versions of susie_rss
that do not have the changes.
Hi. I'm trying to follow this vignette and I'm running into issues when running
susie_rss
. When I run the code that appears in the vignette:I get the following error:
So, I can replace the
bhat
andshat
arguments withz=s_scores
, but then I get the following error:If I remove the
n
argument, I get the same error with theestimated_residual_variance
argument. If I remove that as well,susie_rss
successfully runs, but I'm wondering if I should be concerned that I am not explicitly defining those arguments (especially as it looks like then
parameter passed tosusie_suff_stat
isn=2
).Thanks for any feedback you're able to offer!