Stat.diff.meth {ELMER} | R Documentation

## Stat.diff.meth

### Description

Stat.diff.meth

### Usage

    Stat.diff.meth(
      meth,
      groups,
      group1,
      group2,
      test = t.test,
      min.samples = 5,
      percentage = 0.2,
      Top.m = NULL
    )

### Arguments

`meth` | A matrix contain DNA methylation data.
`groups` | A vector of category of samples.
`group1` | Group 1 label in groups vector
`group2` | Group 2 label in groups vector
`test` | A function specify which statistic test will be used.
`min.samples` | Minimun number of samples to use in the analysis. Default 5. If you have 10 samples in one group, percentage is 0.2 this will give 2 samples in the lower quintile, but then 5 will be used.
`percentage` | A number specify the percentage of normal and tumor samples used in the test.
`Top.m` | A logic. If to identify hypomethylated probe Top.m should be FALSE. hypermethylated probe is TRUE.

### Value

Statistic test results to identify differentially methylated probes.

[Package ELMER version 2.12.0 Index]