cnfoley / mrclust

R package for investigating clustered heterogeneity in Mendelian randomization (MR) analyses.
13 stars 5 forks source link

Typo in example code #2

Open karlsmithbyrne opened 3 years ago

karlsmithbyrne commented 3 years ago

Hi there,

Just to point out that you have a typo in your plotting example code:

res_em$plots$two.stage + ggplot2::xlim(0, max(abs(bx)+2*bxse)) + ggplot2::xlab("Genetic association with SBP") + ggplot2::ylab("Genetic association with CAD") + ggplot2::ggtitle("")

Should be:

res_em$plots$two_stage + ggplot2::xlim(0, max(abs(bx)+2*bxse)) + ggplot2::xlab("Genetic association with SBP") + ggplot2::ylab("Genetic association with CAD") + ggplot2::ggtitle("")

Otherwise, everything worked nicely!

cnfoley commented 3 years ago

Thanks for flagging that Karl. I'll sort it out.

All the best,

Chris

On Tue, May 4, 2021 at 1:52 PM Karl Smith Byrne @.***> wrote:

Hi there,

Just to point out that you have a typo in your plotting example code:

res_em$plots$two.stage + ggplot2::xlim(0, max(abs(bx)+2*bxse)) + ggplot2::xlab("Genetic association with SBP") + ggplot2::ylab("Genetic association with CAD") + ggplot2::ggtitle("")

Should be:

res_em$plots$two_stage + ggplot2::xlim(0, max(abs(bx)+2*bxse)) + ggplot2::xlab("Genetic association with SBP") + ggplot2::ylab("Genetic association with CAD") + ggplot2::ggtitle("")

Otherwise, everything worked nicely!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cnfoley/mrclust/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALJAQVOEQYKE7XVLPKCQ5DDTL7U2HANCNFSM44CU3ZYA .