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

Issue #198: permutest(<dbrda-result>, first = TRUE) fails #199

Merged
merged 4 commits into from
Sep 22, 2016

Conversation

jarioksa
Copy link
Contributor

@jarioksa jarioksa commented Sep 21, 2016

This PR fixes following problems:

  • permutest(<dbrda-result>, first = TRUE) fails as reported in issue permutest of dbrda fails with first=TRUE #198. The comments to issue permutest of dbrda fails with first=TRUE #198 explain the reasons and fix in more detail. Commits 0f4cf0c and 346ea39
  • capscale uses only real dimensions in finding the eigenvalues, and first=TRUE cannot be analysed similarly as with dbrda. Commit daa34e6
  • Profiling showed that a large part of time was spent in eigen when it tried to find out if the input matrix was symmetric. Now the input is guaranteed to be symmetric, and telling this to eigen can make the function to run almost 2x faster. Commit c76a1be

Jari Oksanen added 4 commits September 20, 2016 12:04
suggested fix to github issue #198: permutest (and hence anova)
failed when first=TRUE was requested
…ents

cast to oldCapscale (with message) and use old non-distance-based
analysis.
now we guarantee a symmetric input and tell eigen() that
symmetric = TRUE, and permutest(<dbrda-object>, first=TRUE) is
almost 2x faster.
@codecov-io
Copy link

codecov-io commented Sep 21, 2016

Current coverage is 22.06% (diff: 60.00%)

Merging #199 into master will decrease coverage by <.01%

@@             master       #199   diff @@
==========================================
  Files           450        450          
  Lines         18451      18456     +5   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits           4072       4072          
- Misses        14379      14384     +5   
  Partials          0          0          

Powered by Codecov. Last update 5fca37e...c76a1be

@jarioksa jarioksa merged commit b7e6969 into master Sep 22, 2016
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

Successfully merging this pull request may close these issues.

2 participants