Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A little bug in jbplot_retro #6

Open
Kotkot opened this issue Apr 19, 2021 · 0 comments
Open

A little bug in jbplot_retro #6

Kotkot opened this issue Apr 19, 2021 · 0 comments

Comments

@Kotkot
Copy link

Kotkot commented Apr 19, 2021

Hi all,

I think there is a little bug in lines 1291, 1322, and 1334 in the jabba_plots.R file (related to the function jbplot_retro, where you added a few lines to put the Mohn's rho value at the top of each panel).

The current code is
legend("top", paste0("Mohn's rho = ",round(mean(rho[i-1,k]),2)),bty="n",y.intersp=-0.2,cex=0.9)

but it should probably be
legend("top", paste0("Mohn's rho = ",round(mean(rho[,k]),2)),bty="n",y.intersp=-0.2,cex=0.9)

so that it is the average of all the peels.

Cheers,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant