gff2RDList: Retrieve binding site information from GFF3 files.

Description Usage Arguments Value Examples

View source: R/gff2RDList.R

Description

An auxiliary function to retrieve binding site information from GFF3 format files (for instance those downloaded from modEncode, see function getURL).

Usage

1
gff2RDList(filenames,listnames,dir,quote=NULL,chrprefix='') 

Arguments

filenames

GFF3 filenames to read.

listnames

Names for each read filename, will be used as names of the returned GRangesList. If not given, filenames will be used as listnames.

dir

Directory where the GFF3 files are located.

quote

Quote character used in the GFF3 files around fields, if any.

chrprefix

Prefix to be placed before the chromosome names if desired, for instance 'chr'.

Value

A list with Enriched and Depleted binding sites, each one is an object of class GRangesList with the GRanges objects containing the respective enriched or depleted binding sites from each GFF3 file.

Examples

1
2
3
4
5
6
# Not run
#getURL('http://intermine.modencode.org/release-30/features.do?type=submission&action=export&format=gff3&submission=modENCODE_2984&feature=BindingSite&UCSC','test')
#test <- gff2RDList('test.gff3',dir=getwd())
#test
#test$Enriched[[1]]
#test$Depleted[[1]]

Bioconductor-mirror/chroGPS documentation built on June 1, 2017, 5:32 a.m.