Correct for batch-effects in mmt objects based on variable/sample metadata.

mt_batch(data, ...)

Arguments

mmt

(required) Data list as loaded with mt_load.

batch

(required) Variable in metadata to perform batch-correct on.

method

(optional) Specify the method for batch-correction. One of:

  • "ComBat": (default) See ComBat for details and additional parameter settings.

...

Additional parameters for the specified method.

Value

A modifed mt object

Details

The function mt_batch tries to eliminate batch-effects.

Examples

# NOT RUN { # EXAMPLE GOES HERE # }