easyRNASeq-annotation-methods: Get genic annotation from a gff3/gtf file or using biomaRt

Description Usage Arguments Details Value Author(s) Examples

Description

The annotation can be retrieved in two ways

Usage

1
2
## S4 method for signature 'AnnotParam'
getAnnotation(obj, verbose = FALSE, ...)

Arguments

obj

An object of class AnnotParam

verbose

a boolean to turn on verbosity

...

See details

Details

... are for additional arguments, passed to the biomaRt getBM function or to the readGffGtf internal function that takes an optional arguments: annotation.type that default to "exon". This is used to select the proper rows of the gff or gtf file.

Value

A GRanges containing the fetched annotations.

Author(s)

Nicolas Delhomme

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
  ## Not run: 
	library("RnaSeqTutorial")
  getAnnotation(
    AnnotParam(
      organism="Dmelanogaster",
      datasource=system.file(
  		  "extdata",
				"Dmel-mRNA-exon-r5.52.gff3",
				package="RnaSeqTutorial"),
  		type="gff3"
  ))

## End(Not run)

easyRNASeq documentation built on April 30, 2020, 2 a.m.