getMethData: getMethData

getMethData,MethQTLInput-methodR Documentation

getMethData

Description

Returns methylation information for the given dataset.

Usage

## S4 method for signature 'MethQTLInput'
getMethData(object, site = NULL, sample = NULL)

Arguments

object

An object of class MethQTLInput-class.

site

The sites to be selected either as a numeric or logical vector. If NULL all sites are returned.

sample

The samples to be selected either as a numeric or logical vector. If NULL all samples are returned.

Value

The methylation matrix either as a matrix of HDF5Matrix.

Examples

meth.qtl <- loadMethQTLInput(system.file("extdata","reduced_methQTL",package="MAGAR"))
head(getMethData(meth.qtl))

MPIIComputationalEpigenetics/MAGAR documentation built on Nov. 10, 2023, 4:16 p.m.