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
Merged

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 #198. The comments to issue #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
jarioksa added 4 commits Sep 20, 2016
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 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
6 checks passed
6 checks passed
codecov/patch 60.00% of diff hit (target 22.06%)
Details
codecov/project Absolute coverage decreased by -<.01% but relative coverage increased by +37.93% compared to 5fca37e
Details
continuous-integration/appveyor/branch AppVeyor build succeeded
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.