Skip to content

Commit

Permalink
Merge pull request #54 from aberHRML/devel
Browse files Browse the repository at this point in the history
v2.6.1
  • Loading branch information
Jasen Finch authored Nov 4, 2021
2 parents 4238c1b + 90777e6 commit 06c63db
Show file tree
Hide file tree
Showing 33 changed files with 106 additions and 90 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: binneR
Title: Spectral Processing for High Resolution Flow Infusion Mass Spectrometry
Version: 2.6.0
Version: 2.6.1
Authors@R: person("Jasen", "Finch", email = "[email protected]", role = c("aut", "cre"))
Description: A spectral binning approach for high resolution flow infusion mass spectrometry data.
biocViews: MassSpectrometry, Metabolomics
Expand Down
6 changes: 5 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# binneR 2.6.1

* Fixed performance loss during bin metric calculation caused by the binning width retrieval.

# binneR 2.6.0

* Removed the `LazyData` field from the DESCRIPTION file.

* Replaced the `Remotes` field in the DESCRIPTION file with `Additional_repositories` for the installation of the [`metaboData`](https://aberhrml.github.io/metaboData/) dependency.
* Removed the `Remotes` field in the DESCRIPTION file as the [`metaboData`](https://aberhrml.github.io/metaboData/) dependency is now available on CRAN.

* The number of decimal places used for spectral binning can now be specified using the `binner_dp` global option or the `BINNER_DP` environment variable.

Expand Down
6 changes: 4 additions & 2 deletions R/calc.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,19 @@ calcBinList <- function(pks){

calcBinMeasures <- function(pks,cls){

dp <- binnerDP()

binMeasures <- pks %>%
group_by_at(vars(all_of(c('fileName',
cls,
'polarity',
'bin')))) %>%
summarise(purity = binPurity(mz,
intensity,
dp = binnerDP()),
dp = dp),
centrality = binCentrality(mz,
intensity,
dp = binnerDP()),
dp = dp),
.groups = 'drop')

return(binMeasures)
Expand Down
2 changes: 1 addition & 1 deletion docs/404.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/LICENSE.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/articles/binneR.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/authors.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 11 additions & 3 deletions docs/news/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ pkgdown: 1.6.1
pkgdown_sha: ~
articles:
binneR: binneR.html
last_built: 2021-09-29T14:47Z
last_built: 2021-11-04T10:37Z

2 changes: 1 addition & 1 deletion docs/reference/BinParameters-class.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/Binalysis-class.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/reference/binParameters.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 17 additions & 17 deletions docs/reference/binneRlyse.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions docs/reference/detectInfusionScans.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 06c63db

Please sign in to comment.