Header menu logo BioFSharp.Mz

PeakList Module

Functions and values

Function or value Description

map f pkl

Full Usage: map f pkl

Parameters:
    f : 'a -> 'b
    pkl : 'a list

Returns: PeakList<'b>

Builds a new PeakArray whose elements are the results of applying the given function to each of the elements of the PeakArray.

f : 'a -> 'b
pkl : 'a list
Returns: PeakList<'b>

unzip pkl

Full Usage: unzip pkl

Parameters:
Returns: float list * float list

Iterates the PeakList and unzips the fields of each peak into two seperate lists, the first containing the mz values, the second the intensities.

pkl : PeakList<'a>
Returns: float list * float list

zip mz intensity

Full Usage: zip mz intensity

Parameters:
    mz : float list
    intensity : float list

Returns: PeakList<Peak>

Iterates the mz and intensity lists and creates a Peak(mz,intensity) for each value pair. Returns a new PeakList.

mz : float list
intensity : float list
Returns: PeakList<Peak>

zipMzInt mzIntensity

Full Usage: zipMzInt mzIntensity

Parameters:
    mzIntensity : (float * float) list

Returns: PeakList<Peak>

Creates a Peak(mz,intensity) for each value pair in mzIntensity. Returns a new PeakList.

mzIntensity : (float * float) list
Returns: PeakList<Peak>

Type something to start searching.