getGeno,MethQTLInput-method {MAGAR} | R 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))

[Package MAGAR version 1.0.1 Index]