binParameters: binParameters

Description Usage Arguments Examples

Description

selection of parameters to use for spectral binning.

Usage

1
2
3
binParameters(scans = 5:12, modes = c("n", "p"), sranges = list(c(70,
  1000)), cls = character(), nCores = detectCores(),
  clusterType = "FORK")

Arguments

scans

numeric vector containing the scan indexes to use for binning

modes

character vector denoting the order and names of the modes

sranges

list of vectors containing the ranges of the scan events present

cls

the column of class labels to use for aggregating accurate mass data. Defaults to NULL where accurate mass data will be averaged accross all samples

nCores

the number of cores to use for parallel processing

clusterType

the type of cluster to use for parallel processing

Examples

1
2
3
4
p <- binParameters(scans = 6:17,nCores = 2,clusterType = 'PSOCK')

## Example using multiple overlapping scan ranges
p <- binParameters(scans = 6:17,sranges = list(c(55,280),c(270,1200)))

binneR documentation built on May 1, 2019, 6:34 p.m.