Learn R Programming

wtest (version 3.2)

methylation.recode: Recode Methylation Data

Description

Code a CpG variable into two levels (high and low) by the two-mean clustering method.

Usage

methylation.recode(data)

Arguments

data

a data frame or matrix contains methylation data in the columns.

Examples

Run this code
# NOT RUN {
data(methylation)
data.recoded <- methylation.recode(methylation)
# }

Run the code above in your browser using DataLab