pubRepo-class {AnnBuilder} | R Documentation |
This class provides the basic functions to download/parser data from different public data repositories. More specific functions can be provided by extending this class to include source specific features
Objects can be created by calls of the form new("pubRepo", ...)
.
A constructor (pubRepo
is provided and should be used
to create objects of this class.
srcUrl
:"character"
a character
string for the url of a data source from a public repositoryparser
:"character"
a character
string for the name of a file that will be used as part of perl
script to parse the source data. Parser is a segment of perl code
containing instructions on how the source data will be processed
and the content and format of the outputbaseFile
:"character"
a
character string for the name of a file that will be used as the
base to process the source data. Data from the source that are
related to elements in the base file will be extracted. baseFile
is assumed to be a two folumn file with the first column being
some type of arbitrary ids (e.g. Affymetrix probe ids) and the
second cloumn being the corresponding ids of a given public
repository (e.g. GenBank accession numbers or UniGene ids)signature(object = "pubRepo")
: Sets the
value for baseFilesignature(object = "pubRepo")
: Gets the value
for baseFilesignature(object = "pubRepo")
: Downloads
data from a data source defined by srcUrlsignature(object = "pubRepo")
:
DownLoads/parses data from a data source defined by srcUrlsignature(object = "pubRepo")
: Sets the value
for parsersignature(object = "pubRepo")
: Gets the value
for parsersignature(object = "pubRepo")
: Reads data
using readLines
from a data source defined by srcUrlsignature(object = "pubRepo")
: Sets the value
for srcUrlsignature(object = "pubRepo")
: Gets the value
for srcUrlThis class is part of the Bioconductor project at Dana-Farber Cancer Institute to provide Bioinformatics functionalities through R
Jianhua Zhang
GO-class
, KEGG-class
,
LL-class
, UG-class
, GEO-class
# Read a short test file from Bioconductor test <- pubRepo(srcUrl = "http://www.bioconductor.org/datafiles/wwwsources/TGene.txt") data <- readData(test)