dot-scanChunker: Scan Chunker

Description Usage Arguments Value Examples

Description

Break sets of ms scans into indexed chunks for multi-import methods

Usage

1
.scanChunker(scans, mzRfilePointer, chunkSize)

Arguments

scans

A numeric vector of all of the scan indices to be imported

mzRfilePointer

A mzR pointer object linking to the file to be converted

chunkSize

The number of scans to be processed at a time - actual import size will be aproximately the size of chunkSize

Value

a list object containing the group indices and order of those indicies. See .splitIndex.

Examples

1
2
3
4
## Not run: 
chunks <- .scanChunker(scans = c(1:10), chunkSize = 2)

## End(Not run)

pmbrophy/mzDataTable documentation built on June 6, 2020, 7:43 a.m.