methylation_array_convertDS: Convert a Methylation ExpressionSet from EPIC to 450k Array

View source: R/methylation_array_convertDS.R

methylation_array_convertDSR Documentation

Convert a Methylation ExpressionSet from EPIC to 450k Array

Description

This function subsets a methylation ExpressionSet from an EPIC array (850k probes) to a 450k array or vice versa.

Usage

methylation_array_convertDS(eSet, objective_array)

Arguments

eSet

A methylation ExpressionSet object containing either EPIC or 450k array data.

objective_array

A character string specifying the target array type. Can be either "450k" or "epic".

Value

An ExpressionSet object containing the subset of probes based on the target array type.

Examples

# Load example data as 'eSet'
# Convert the eSet from EPIC array to 450k array
eSet_450k <- methylation_array_convertDS(eSet, objective_array = "450k")
# Convert the eSet from 450k array to EPIC array
eSet_epic <- methylation_array_convertDS(eSet, objective_array = "epic")

isglobal-brge/dsOmics documentation built on Nov. 11, 2024, 4:18 a.m.