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

Randomisations - add enhanced randomisation outputs #607

Closed
shawnlaffan opened this issue Aug 3, 2016 · 3 comments
Closed

Randomisations - add enhanced randomisation outputs #607

shawnlaffan opened this issue Aug 3, 2016 · 3 comments

Comments

@shawnlaffan
Copy link
Owner

The randomisations produce rank-relative scores that can be converted into significances at varying levels of alpha, but outside of Biodiverse.

It would be useful to add it as a function within Biodiverse.

@shawnlaffan shawnlaffan added this to the Release_2.0 milestone Aug 3, 2016
@shawnlaffan shawnlaffan self-assigned this Aug 3, 2016
shawnlaffan added a commit that referenced this issue Aug 4, 2016
Only works on spatial outputs at the moment.

Need to:
1.  Relocate the convert_comparisons_to_significances sub
2.  Do the same for cluster node calculations
3.  Refactor the logic

Also not sure this is the best output format (e.g. -0.01 for sig low at alpha = 0.01).

Updates #607
shawnlaffan added a commit that referenced this issue Aug 4, 2016
shawnlaffan added a commit that referenced this issue Aug 4, 2016
Hard code the default thresholds to avoid repeated map calls.

Only calculate the two tail scores if the relevant one tail threshold is passed.

Also test that we get at least some defined results (although this does not happen if we up the number of iterations to 99 due to the data set used).

Updates #607
@shawnlaffan
Copy link
Owner Author

All newly run randomisations now get this by default.

We could perhaps add the option to calculate it for existing randomisations, but can be under its on issue.

shawnlaffan added a commit to NunzioKnerr/biodiverse_pipeline that referenced this issue Aug 7, 2016
Distinct functions to plot CANAPE classes using the newly introduced Biodiverse significance classification (see  shawnlaffan/biodiverse#607 and http://biodiverse-analysis-software.blogspot.com.au/2016/08/biodiverse-now-categorises-your.html )

Differs from the current system by thresholding using >, not >=, but it has little effect for phylo indices.
shawnlaffan added a commit that referenced this issue Aug 7, 2016
These lists were added in issue #607 and need to be re-categorised, not incremented.

Updates #588
@shawnlaffan
Copy link
Owner Author

Re-opening. The negated threshold is confusing. Percentile rank would be cleaner.

@shawnlaffan shawnlaffan reopened this Aug 24, 2016
shawnlaffan added a commit that referenced this issue Aug 26, 2016
shawnlaffan added a commit that referenced this issue Aug 29, 2016
Also add better tests for the threshold calculations.

Updates issue #607
shawnlaffan added a commit that referenced this issue Aug 29, 2016
This is a much cleaner approach and
allows for greater flexibility in later code.

Updates #607
@shawnlaffan shawnlaffan changed the title Randomisations - add option for significance thresholds Randomisations - add enhanced randomisation outputs Aug 29, 2016
@shawnlaffan
Copy link
Owner Author

Mark as fixed (again)

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

No branches or pull requests

1 participant