SAM Module

Types and nested modules

Type/Module Description

Permutations

S0

SAMHelper

SAM<'id>

Type that contains all info regarding SAM for each sample

SAMResult<'id>

SAM Result containing all information

Functions and values

Function or value Description

getObservedStats s0 dataA dataB

Full Usage: getObservedStats s0 dataA dataB

Parameters:
    s0 : float
    dataA : ('id * float[])[]
    dataB : ('id * float[])[]

Returns: SAM<'id>[]

t-test statistic for observed statistics, used as default.

s0 : float
dataA : ('id * float[])[]
dataB : ('id * float[])[]
Returns: SAM<'id>[]

medianCentering data

Full Usage: medianCentering data

Parameters:
    data : ('a * float[])[]

Returns: float[][]

median centering of the data

data : ('a * float[])[]
Returns: float[][]

twoClassUnpaired iterations fdr data1 data2 rnd

Full Usage: twoClassUnpaired iterations fdr data1 data2 rnd

Parameters:
    iterations : int
    fdr : float
    data1 : ('a * float[])[]
    data2 : ('a * float[])[]
    rnd : Random

Returns: SAMResult<'a>

default version of SAM. Two class unpaired calculation. Rnd can be either System.Random() or System.Random(seed).

iterations : int
fdr : float
data1 : ('a * float[])[]
data2 : ('a * float[])[]
rnd : Random
Returns: SAMResult<'a>