add positive flag for correlation analysis and update pandas data fra… #15
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Dear Ralf,
I have pushed branch
wl
into yourbeamspy
. The changes are:statistics.py
: change functioncorrelation_coefficients
with newargument
positive
(default is True) and update data frame combinationwith new functions (prevent warnings). So the default correlation
coefficient is positive only otherwise is both positive and negative.
grouping.py
: add argumentpositive=True
to functiongroup_features
.in_out.py
: update functioncombine_peaklist_matrix
with newpandas
feature to avoid warning.
__main__.py
: add argumentpositve
togroup_features
.run.py
,run.sh
andexamples.ipynb
: add argumentpositve
togroup_features
.data/adducts.txt
,data/isotopes.txt
,data/multiple_charged_ions.txt
and
data/neutral_losses.txt
: remove^M
with commandsed -r "s/\r/\n/g"
I have not made any changes for rest of the
beamspy
.Best regards,
wl