getGeno: getGeno

getGeno,MethQTLInput-methodR Documentation

getGeno

Description

Returns genotyping information for the given dataset.

Usage

## S4 method for signature 'MethQTLInput'
getGeno(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 genotyping matrix either as a matrix of HDF5Matrix.

Examples

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

MPIIComputationalEpigenetics/MAGAR documentation built on Nov. 16, 2024, 11:25 p.m.