convertToArray: Convert FAIMS data to an array

Description Usage Arguments Details Value

View source: R/read.R

Description

Converts a FAIMS object to a FAIMSArray object, with the data stored in a 5-dimensional array. The dimensions correspond to sample ID, CV, dispersion field strength, polarity, and runNumber.

Usage

1
convertToArray(FAIMSObject, keepMatrixData = TRUE)

Arguments

FAIMSObject

A FAIMS object

keepMatrixData

Whether to keep the matrix-shaped FAIMS data

Details

If keepMatrixData=TRUE, the output inherits both FAIMS and FAIMSArray. Otherwise, it only inherits FAIMSArray and will not work with functions which require FAIMS objects.

Value

A FAIMSArray object (also inheriting FAIMS if keepMatrixData=TRUE)


mattdneal/FAIMSToolkit documentation built on May 21, 2019, 12:57 p.m.