getAnno,MethQTLInput-method {MAGAR} | R Documentation |
Returns genomic annotation information for the given dataset.
## S4 method for signature 'MethQTLInput' getAnno(object, type = "meth") ## S4 method for signature 'MethQTLResult' getAnno(object, type = "meth")
object |
An object of class |
type |
The type of annotation to be returned. Can either be |
The genomic annotation as a data.frame
.
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"))