getAnno,MethQTLInput-method {MAGAR} | R Documentation

## getAnno

### Description

Returns genomic annotation information for the given dataset.

### Usage

    ## S4 method for signature 'MethQTLInput'
    getAnno(object, type = "meth")

    ## S4 method for signature 'MethQTLResult'
    getAnno(object, type = "meth")

### Arguments

`object` | An object of class `MethQTLInput-class` or `MethQTLResult-class`.
`type` | The type of annotation to be returned. Can either be `'meth'` or `'geno'` for methylation, and genotyping information, respectively.

### Value

The genomic annotation as a `data.frame`.

### Examples

    meth.qtl <- loadMethQTLInput(system.file("extdata","reduced_methQTL",package="MAGAR"))
    head(getAnno(meth.qtl,"meth"))
    head(getAnno(meth.qtl,"geno"))
    meth.qtl.res <- loadMethQTLResult(system.file("extdata","MethQTLResult_chr18",package="MAGAR"))
    head(getAnno(meth.qtl.res,"meth"))
    head(getAnno(meth.qtl.res,"geno"))

[Package MAGAR version 1.0.1 Index]