Stat.diff.meth: Stat.diff.meth

Description Usage Arguments Value

View source: R/StatisticTest.R

Description

Stat.diff.meth

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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.


ELMER documentation built on Nov. 8, 2020, 4:59 p.m.