Institute for Advanced Biosciences Keio University
MathDAMP Mathematica package for differential analysis of metabolite profiles
Home Overview Examples Downloads TriDAMP References Contact
MathDAMP > Examples > MathDAMP source > Core Functionality > Applying a function to a group of datasets

Applying a function to a group of datasets

The DAMPApplyFunctionToGroup function applies a pure function function to all corresponding signal intensities of msdatas (a list of msdata datasets).

Options[DAMPApplyFunctionToGroup] = {Global`ApplyToIntensitiesOnlyTrue, Global`SampleNameSuffix"", Global`ResultSampleNameAutomatic} 

DAMPApplyFunctionToGroup[msdatas_, func_, opts___] := Module[{rsltsamplename}, rslts ... SampleNameSuffix/.{opts}/.Options[DAMPApplyFunctionToGroup]] ; tmpdat] ]