-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #49 from aberHRML/devel
v2.5.0
- Loading branch information
Showing
36 changed files
with
9,424 additions
and
364 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.4.2 | ||
Version: 2.5.0 | ||
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 | ||
|
@@ -34,9 +34,6 @@ Collate: | |
binParameters.R | ||
spectralBinning-method.R | ||
show-method.R | ||
info-method.R | ||
binnedData-method.R | ||
accurateData-method.R | ||
get.R | ||
calc.R | ||
readFiles.R | ||
|
@@ -47,6 +44,7 @@ Collate: | |
singleSample.R | ||
readBinningParameters.R | ||
reexports.R | ||
access.R | ||
Suggests: | ||
knitr, | ||
rmarkdown, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
#' Binalysis class get methods | ||
#' @rdname results | ||
#' @description Methods for accessing spectral binning results from the Binalysis S4 class. | ||
#' @param x S4 object of class Binalysis | ||
#' @details | ||
#' \itemize{ | ||
#' \item{version}{ - Extract package version used to create the object.} | ||
#' \item{creationDate}{ - Extract the creation date of the object.} | ||
#' \item{filePaths}{ - Extract the sample file paths.} | ||
#' \item{sampleInfo}{ - Extract sample meta information.} | ||
#' \item{binnedData}{ - Extract a binned data intensity matrix.} | ||
#' \item{accurateData}{ - Extract sample-wise accurate mass data and bin measures.} | ||
#' \item{binningParametesr}{Extract the binning parameters.} | ||
#' } | ||
#' @seealso \code{\link{Binalysis-class}}, \code{\link{binneRlyse}} | ||
#' @export | ||
|
||
setMethod('version',signature = 'Binalysis', | ||
function(x){ | ||
x@version | ||
}) | ||
|
||
#' @rdname results | ||
#' @export | ||
|
||
setMethod('creationDate',signature = 'Binalysis', | ||
function(x){ | ||
x@creation_date | ||
}) | ||
|
||
#' @rdname results | ||
#' @export | ||
|
||
setMethod('filePaths',signature = 'Binalysis', | ||
function(x){ | ||
x@file_paths | ||
}) | ||
|
||
#' @rdname results | ||
#' @export | ||
|
||
setMethod('sampleInfo',signature = 'Binalysis', | ||
function(x){ | ||
x@sample_info | ||
}) | ||
|
||
#' @rdname results | ||
#' @export | ||
|
||
setMethod('binnedData',signature = 'Binalysis', | ||
function(x){ | ||
x@binned_data | ||
}) | ||
|
||
setMethod('binnedData<-',signature = 'Binalysis', | ||
function(x,value){ | ||
x@binned_data <- value | ||
return(x) | ||
}) | ||
|
||
#' @rdname results | ||
#' @export | ||
|
||
setMethod('accurateData',signature = 'Binalysis', | ||
function(x){ | ||
x@accurate_mz | ||
}) | ||
|
||
setMethod('accurateData<-',signature = 'Binalysis', | ||
function(x,value){ | ||
x@accurate_mz <- value | ||
return(x) | ||
}) | ||
|
||
#' @rdname results | ||
#' @export | ||
|
||
setMethod('binningParameters',signature = 'Binalysis', | ||
function(x){ | ||
as(x,'BinParameters') | ||
}) | ||
|
||
setMethod('spectra',signature = 'Binalysis', | ||
function(x){ | ||
x@spectra | ||
}) | ||
|
||
setMethod('spectra<-',signature = 'Binalysis', | ||
function(x,value){ | ||
x@spectra <- value | ||
return(x) | ||
}) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.