Learn R Programming

MBMethPred (version 0.1.4.2)

ReadMethylFile: Input file for prediction

Description

A function to read DNA methylation files. It can be used as the new data for prediction by every model.

Usage

ReadMethylFile(File)

Value

A data frame

Arguments

File

A data frame with tsv or csv file extension. The first column of the data frame is the CpG methylation probe that starts with cg characters and is followed by a number (e.g., cg100091). Other columns are samples with methylation beta values. All columns in the data frame should have a name.

Examples

Run this code
if (FALSE) {
methyl <- ReadMethylFile(File = "file.csv")
}

Run the code above in your browser using DataLab