Skip to content

Rcorr fix#30

Open
trljcl wants to merge 2 commits into
sneumann:masterfrom
trljcl:rcorr_fix
Open

Rcorr fix#30
trljcl wants to merge 2 commits into
sneumann:masterfrom
trljcl:rcorr_fix

Conversation

@trljcl

@trljcl trljcl commented May 21, 2018

Copy link
Copy Markdown

rcorr() returns r values of 1 and p values of 0 for n = 2 comparisons. This leads to many false-positive groupings of pseudospectra represented by sparse EICs. The default should be only to correlate when n = 4 or greater. rcorr() is not catching these because it is counting NA in the EIC matrix in its checks. However, the n values returned by rcorr handily give the number of non-NA comparisons, so code has be updated to filter by a n > 3 threshold, in addition to the the existing r and p thresholds.

trljcl added 2 commits May 16, 2018 16:40
xcmsRaw object @scantime updated to match parent xcmsSet object @rt$corrected, where these are present.  This is essential to ensure EICs generated for correlations use the correct rt boundaries
@sneumann

Copy link
Copy Markdown
Owner

We also need to carefully adapt the currently failing unit tests. The tests simply check for a given result,
which in this case seems to not be the correct result. Yours, Steffen

@sneumann

Copy link
Copy Markdown
Owner

Hi, the changes look good to me, but any idea why we have
the failures in e.g. https://travis-ci.org/github/sneumann/CAMERA/builds/381696732#L6329 ?
Yours, Steffen

@trljcl

trljcl commented Mar 21, 2020 via email

Copy link
Copy Markdown
Author

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