rm.cgsuffix: Remove suffix from CpG names and combine duplicated CpGs

View source: R/utils.R

rm.cgsuffixR Documentation

Remove suffix from CpG names and combine duplicated CpGs

Description

Remove suffix from CpG names for EPIC v2 BeadChips and combined values for duplicated CpGs

Usage

rm.cgsuffix(datMeth)

Arguments

datMeth

A methlation data matrix with row names for CpG id

Details

Remove suffix from CpG names for EPIC v2 BeadChips and combined values for duplicated CpGs

Value

A matrix with number of rows equal or less than input data.

Author(s)

Zongli Xu

Examples



#beta matrix with row for CpGs and column for samples
beta2=rm.cgsuffix(beta)

xuz1/ENmix documentation built on Aug. 5, 2023, 7:11 a.m.