pubRepo-class {AnnBuilder} | R Documentation |
This class provides basic functions to download/parse 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 column file with the first column being
some type of arbitrary ids (e.g. Affymetrix probe ids) and the
second column being the corresponding ids of a given public
repository (e.g. GenBank accession numbers or UniGene ids)built
:"character"
a character
string for the date or number a given source data were builtfromWeb
:"boolean"
a boolean
indicating whether the data will be read from a url or local file
represented by srcUrl
signature(object = "pubRepo")
: Sets the
value for baseFilesignature(object = "pubRepo")
: Gets the value
for baseFilesignature(object = "pubRepo")
: Gets the value
for builtsignature(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 srcUrlsignature(object = "pubRepo")
: Get the vlue
for slot fromWebsignature(object = "pubRepo")
: Sets the value
for slot fromWebThis 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
## Not run: # Read a short test file from Bioconductor test <- pubRepo(srcUrl = "http://www.bioconductor.org/datafiles/wwwsources/TGene.txt", fromWeb = TRUE) data <- readData(test) ## End(Not run)