Header menu logo BioFSharp.Mz

Care Module

Functions and values

Function or value Description

accumulate fromIdx toIdx startV f data

Full Usage: accumulate fromIdx toIdx startV f data

Parameters:
    fromIdx : int
    toIdx : int
    startV : 'a
    f : 'a -> 'T -> 'a
    data : 'T[]

Returns: 'a

Helper function to accumulate Array values

fromIdx : int
toIdx : int
startV : 'a
f : 'a -> 'T -> 'a
data : 'T[]
Returns: 'a

calc targetX (arg2, arg3) currentX currentY

Full Usage: calc targetX (arg2, arg3) currentX currentY

Parameters:
    targetX : 'a
    arg1 : int
    arg2 : int
    currentX : int
    currentY : int

Returns: int * int
targetX : 'a
arg1 : int
arg2 : int
currentX : int
currentY : int
Returns: int * int

createXspacing mzData

Full Usage: createXspacing mzData

Parameters:
    mzData : float[]

Returns: float array

Returns a Array containing the distances between adjacent mz values of the input array.

mzData : float[]
Returns: float array

getColHighBound xData centerIdx mzTol

Full Usage: getColHighBound xData centerIdx mzTol

Parameters:
    xData : float[]
    centerIdx : int
    mzTol : float

Returns: int
xData : float[]
centerIdx : int
mzTol : float
Returns: int

getColLowBound xData centerIdx mzTol

Full Usage: getColLowBound xData centerIdx mzTol

Parameters:
    xData : float[]
    centerIdx : int
    mzTol : float

Returns: int
xData : float[]
centerIdx : int
mzTol : float
Returns: int

scoreAtPercentile perc nTot sortedData

Full Usage: scoreAtPercentile perc nTot sortedData

Parameters:
    perc : float
    nTot : int
    sortedData : float[]

Returns: float

Helper function for determining the score in a (sorted) vector at a given percentile end of getScoreAtPercentile. Allow passing of length of vector in case you only want a slice of the first portion of a vector; perc should not be a fraction (e.g. 5th per centile = 5.0)

perc : float
nTot : int
sortedData : float[]
Returns: float

Type something to start searching.