getEncoded: Convert from compressed binary to R numeric vector

View source: R/minifyMSFunctions.R

getEncodedR Documentation

Convert from compressed binary to R numeric vector

Description

Convert from compressed binary to R numeric vector

Usage

getEncoded(mzint_nodes, compression_type, bin_precision, endi_enc)

Arguments

mzint_nodes

The XML nodes containing the compressed binary string

compression_type

Compression type to be used by memDecompress

bin_precision

The bit (?) precision used by readBin

endi_enc

The byte order (?) of the string. For mzML this is always "little" but mzXML can also be "big"

Value

A numeric vector of m/z or intensity values


RaMS documentation built on Oct. 9, 2024, 9:06 a.m.