formatDMRsInput: Convert input table to proper format.

View source: R/formatDMRsInput.R

formatDMRsInputR Documentation

Convert input table to proper format.

Description

Convert input table to proper format. The firts three column of the input table must have chr, start, end coordinates.

Usage

formatDMRsInput(
  tableIn,
  thr.beta,
  col.betadiff = 4,
  col.beta1 = NULL,
  col.beta2 = NULL
)

Arguments

thr.beta

numeric, beta difference threshold to consider methylations. Default = 0.3

col.betadiff

numeric, column position for beta diff. in input table. Default = 4

col.beta1

numeric, column position for first sample beta values in input table

col.beta2

numeric, column position for second sample beta values in input table

DMRsRanges

the DMRs ranges, it must have the following columns: chr, start, end, beta diff. Other columns will be stored in the resulting output under the column other.

Value

data.frame of DMR ranges


GianlucaMattei/methyl.O documentation built on Sept. 12, 2023, 11:53 p.m.