Title: | Annotation tools for Affymetrix biological metadata |
---|---|
Description: | Functions for handling data from Bioconductor Affymetrix annotation data packages. Produces compact HTML and text reports including experimental data and URL links to many online databases. Allows searching biological metadata using various criteria. |
Authors: | Colin A. Smith <[email protected]> |
Maintainer: | Colin A. Smith <[email protected]> |
License: | LGPL |
Version: | 1.79.0 |
Built: | 2024-11-18 03:10:30 UTC |
Source: | https://github.com/bioc/annaffy |
Dispatches requests for annotation data to the correct function. Alternatively returns a list of all the columns it supports.
aaf.handler(probeids, chip, name)
aaf.handler(probeids, chip, name)
probeids |
character vector containing probe ids |
chip |
name of chip |
name |
name of the column of data to return |
An aafList
containing objects of the propper class.
If no arguments are passed, it will return a character vector of the columns currently supported.
Written at the NASA Center for Computational Astrobiology
http://cca.arc.nasa.gov/
Colin A. Smith, [email protected]
For the given probeids
, constructs an aafList
of
aafChromLoc
objects containing annotation data from the
chip
data package.
aafChromLoc(probeids, chip)
aafChromLoc(probeids, chip)
probeids |
character vector containing probe ids |
chip |
name of the chip data package |
An aafList
of aafChromLoc
objects. NA values are
returned as empty objects.
Colin A. Smith, [email protected]
if (require(hgu95av2.db)) { data(aafExpr) probes <- featureNames(aafExpr) locations <- aafChromLoc(probes, "hgu95av2.db") show(locations[6:10]) }
if (require(hgu95av2.db)) { data(aafExpr) probes <- featureNames(aafExpr) locations <- aafChromLoc(probes, "hgu95av2.db") show(locations[6:10]) }
An abstraction for gene chromosome locations from Bioconductor data packages.
Objects are generally created by the aafChromLoc
constructor. Objects can also be created manually by calls of the
form new("aafChromLoc", description)
.
.Data
:Object of class integer
Class integer
, from data part.
No methods defined with class "aafChromLoc" in the signature.
See generic implementations of getText
, getURL
,
getHTML
, getTD
, and getCSS
.
Colin A. Smith, [email protected]
For the given probeids
, constructs an aafList
of
aafChromosome
objects containing annotation data from the
chip
data package.
aafChromosome(probeids, chip)
aafChromosome(probeids, chip)
probeids |
character vector containing probe ids |
chip |
name of the chip data package |
An aafList
of aafChromosome
objects. NA values are
returned as empty objects.
Colin A. Smith, [email protected]
if (require(hgu95av2.db)) { data(aafExpr) probes <- featureNames(aafExpr) chromosomes <- aafChromosome(probes, "hgu95av2.db") show(chromosomes[6:10]) }
if (require(hgu95av2.db)) { data(aafExpr) probes <- featureNames(aafExpr) chromosomes <- aafChromosome(probes, "hgu95av2.db") show(chromosomes[6:10]) }
An abstraction for gene gene chromosome assignments from Bioconductor data packages.
Objects are generally created by the aafChromosome
constructor. Objects can also be created manually by calls of the
form new("aafChromosome", description)
.
.Data
:Object of class character
Class character
, from data part.
No methods defined with class "aafChromosome" in the signature.
See generic implementations of getText
, getURL
,
getHTML
, getTD
, and getCSS
.
Colin A. Smith, [email protected]
For the given probeids
, constructs an aafList
of
aafCytoband
objects containing annotation data from the
chip
data package.
aafCytoband(probeids, chip)
aafCytoband(probeids, chip)
probeids |
character vector containing probe ids |
chip |
name of the chip data package |
An aafList
of aafCytoband
objects. NA values are returned as
empty objects.
Colin A. Smith, [email protected]
if (require(hgu95av2.db)) { data(aafExpr) probes <- featureNames(aafExpr) bands <- aafCytoband(probes, "hgu95av2.db") show(bands[6:10]) }
if (require(hgu95av2.db)) { data(aafExpr) probes <- featureNames(aafExpr) bands <- aafCytoband(probes, "hgu95av2.db") show(bands[6:10]) }
An abstraction for cytoband data from Bioconductor data packages.
Objects are generally created by the aafCytoband
constructor. Objects can also be created manually by calls of the
form new("aafCytoband", band, genbank)
.
band
:Object of class character
containing genomic cytoband
gene
:Object of class character
containing containing Gene ID
(aafCytoband): Returns text of band
.
(aafCytoband): Returns a URL corresponding entry in NCBI's cytoband map viewer.
See generic implementations of getHTML
,
getTD
, and getCSS
.
Colin A. Smith, [email protected]
For the given probeids
, constructs an aafList
of
aafDescription
objects containing annotation data from the
chip
data package.
aafDescription(probeids, chip)
aafDescription(probeids, chip)
probeids |
character vector containing probe ids |
chip |
name of the chip data package |
An aafList
of aafDescription
objects. NA values are returned as
empty objects.
Colin A. Smith, [email protected]
if (require(hgu95av2.db)) { data(aafExpr) probes <- featureNames(aafExpr) descriptions <- aafDescription(probes, "hgu95av2.db") show(descriptions[6:10]) }
if (require(hgu95av2.db)) { data(aafExpr) probes <- featureNames(aafExpr) descriptions <- aafDescription(probes, "hgu95av2.db") show(descriptions[6:10]) }
An abstraction for gene description from Bioconductor data packages.
Objects are generally created by the aafDescription
constructor. Objects can also be created manually by calls of the
form new("aafDescription", description)
.
.Data
:Object of class character
Class character
, from data part.
No methods defined with class "aafDescription" in the signature.
See generic implementations of getText
, getURL
,
getHTML
, and getTD
.
Colin A. Smith, [email protected]
Contains expression values for 250 probe ids with 8 samples. Two
covariates are provided. Expression comes from the hgu95av2
chip.
The data is real but anonymized. 250 genes expression values were chosen at random from an existing ExpressionSet. Another 250 probe ids were selected at random and were assigned to the expression values. That way, expression values do not correspond to the true probe ids.
Post-processing was done with rma()
in affy
1.2.23.
For the given probeids
, constructs an aafList
of
aafGenBank
objects containing annotation data from the
chip
data package.
aafGenBank(probeids, chip)
aafGenBank(probeids, chip)
probeids |
character vector containing probe ids |
chip |
name of the chip data package |
An aafList
of aafGenBank
objects. NA values are returned as
empty objects.
Colin A. Smith, [email protected]
if (require(hgu95av2.db)) { data(aafExpr) probes <- featureNames(aafExpr) gbs <- aafGenBank(probes, "hgu95av2.db") show(gbs[6:10]) }
if (require(hgu95av2.db)) { data(aafExpr) probes <- featureNames(aafExpr) gbs <- aafGenBank(probes, "hgu95av2.db") show(gbs[6:10]) }
An abstraction for GenBank accession numbers from Bioconductor data packages.
Objects are generally created by the aafGenBank
constructor. Objects can also be created manually by calls of the
form new("aafGenBank", accnum)
.
.Data
:Object of class character
Class character
, from data part.
(aafGenBank): Returns a URL to the corresponding entry in NCBI's GenBank database.
See generic implementations of getText
,
getHTML
, and getTD
.
Colin A. Smith, [email protected]
For the given probeids
, constructs an aafList
of
aafGO
objects containing annotation data from the
chip
data package.
aafGO(probeids, chip)
aafGO(probeids, chip)
probeids |
character vector containing probe ids |
chip |
name of the chip data package |
An aafList
of aafGO
objects. NA values are returned as
empty objects.
Colin A. Smith, [email protected]
if (require(hgu95av2.db)) { data(aafExpr) probes <- featureNames(aafExpr) gos <- aafGO(probes, "hgu95av2.db") show(gos[6:10]) }
if (require(hgu95av2.db)) { data(aafExpr) probes <- featureNames(aafExpr) gos <- aafGO(probes, "hgu95av2.db") show(gos[6:10]) }
An abstraction for gene ontology ids from Bioconductor data
packages. This class is actually extends aafList
and holds
aafGOItem
objects which have the actual annotation data.
Objects are generally created by the aafGO
constructor.
Objects can also be created manually by calls of the form
new("aafGO", list(goitems))
.
.Data
:Object of class list
Class aafList
, from data part.
(aafGO): Returns a comma delimeted list of the individual
aafGOItem
objects.
(aafGO): Returns a single URL to an AmiGO page which displays all the gene ontology identifiers in an hierarchical listing.
(aafGO): Returns an HTML representation of each of the
individual aafGOItem
objects, concatenated together.
(aafGO): Returns an HTML table cell representation with the class set to "aafGO".
(aafGOItem): Returns a line of CSS that indents GOItem paragraphs.
Colin A. Smith, [email protected]
An abstraction for gene ontology id elements from Bioconductor
data packages. Multiple instances of this class are held by the
wrapper class aafGO
.
Objects are generally created by the aafGO
constructor.
Objects can also be created manually by calls of the form
new("aafGOItem", id, name, type)
.
id
:Object of class character
containing GO id
name
:Object of class character
containing textual name
type
:Object of class character
containing GO subtype
evid
:Object of class character
containing GO evidence code
(aafGOItem): Returns textual representation formatted
"id
: name
".
(aafGOItem): Returns a URL to the corresponding gene ontology entry on AmiGO.
(aafGOItem): Returns an HTML representation including the URL link, gene ontology name, and rollover subtype.
Colin A. Smith, [email protected]
A class for displaying gene expression values with a green background of differing intensities.
Objects are generally created by the aafTableInt
constructor. Objects can also be created manually by calls of the
form new("aafIntensity", intensity)
.
.Data
:Object of class numeric
Class numeric
, from data part.
(aafIntensity): Returns an HTML table cell with background
varrying from white to green depending on intensity. Scaling
is controlled by two options, minIntensity
(fully
white) and maxIntensity
(fully green), usually set by
writeHTML.
See generic implementations of getText
,
getURL
, getHTML
, and getCSS
.
Colin A. Smith, [email protected]
A class for lists of annotation data objects.
Objects are generally created by any of the annotation data constructors
that are also part of this package. Objects can also be created manually
by calls of the form new("aafList", list)
.
.Data
:Object of class list
Class list
, from data part.
(aafList): Returns a character vector containing textual representations of every item.
(aafList): Returns a character vector containing single URLs (if possible) of every item.
(aafList): Returns a character vector containing HTML representations of every item.
(aafList): Returns a character vector containing HTML table cell representations of every item.
(aafList): Returns getCSS() of the first item in the list.
(aafList): Returns a subset of aafList as another aafList
object.
Colin A. Smith, [email protected]
For the given probeids
, constructs an aafList
of
aafLocusLink
objects containing annotation data from the
chip
data package.
aafLocusLink(probeids, chip)
aafLocusLink(probeids, chip)
probeids |
character vector containing probe ids |
chip |
name of the chip data package |
An aafList
of aafLocusLink
objects. NA values are returned as
empty objects.
Colin A. Smith, [email protected]
if (require(hgu95av2.db)) { data(aafExpr) probes <- featureNames(aafExpr) lls <- aafLocusLink(probes, "hgu95av2.db") show(lls[6:10]) }
if (require(hgu95av2.db)) { data(aafExpr) probes <- featureNames(aafExpr) lls <- aafLocusLink(probes, "hgu95av2.db") show(lls[6:10]) }
An abstraction for LocusLink ids from Bioconductor data packages.
Objects are generally created by the aafLocusLink
constructor. Objects can also be created manually by calls of the
form new("aafLocusLink", id)
.
.Data
:Object of class integer
Class integer
, from data part.
(aafLocusLink): Returns a URL to the corresponding entry in NCBI's LocusLink database. On the rare chance that more than one id is defined, more than one URL will be returned.
See generic implementations of getText
,
getHTML
, and getTD
.
Colin A. Smith, [email protected]
For the given probeids
, constructs an aafList
of
aafPathway
objects containing annotation data from the
chip
data package.
aafPathway(probeids, chip)
aafPathway(probeids, chip)
probeids |
character vector containing probe ids |
chip |
name of the chip data package |
An aafList
of aafPathway
objects. NA values are returned as
empty objects.
Colin A. Smith, [email protected]
if (require(hgu95av2.db)) { data(aafExpr) probes <- featureNames(aafExpr) pathways <- aafPathway(probes, "hgu95av2.db") show(pathways[6:10]) }
if (require(hgu95av2.db)) { data(aafExpr) probes <- featureNames(aafExpr) pathways <- aafPathway(probes, "hgu95av2.db") show(pathways[6:10]) }
An abstraction for KEGG pathway ids from Bioconductor data
packages. This class is actually extends aafList
and holds
aafPathwayItem
objects which have the actual annotation
data.
Objects are generally created by the aafPathway
constructor.
Objects can also be created manually by calls of the form
new("aafPathway", list(pathwayitems))
.
.Data
:Object of class list
Class aafList
, from data part.
(aafGO): Returns a comma delimeted list of the individual
aafPathwayItem
objects.
(aafGO): Returns zero length character vector because this method is not valid for this class.
(aafGO): Returns an HTML representation of each of the
individual aafPathwayItem
objects, concatenated together.
(aafGO): Returns an HTML table cell representation with the class set to "aafPathway".
(aafGO): Returns a line of CSS which intends PathwayItem paragraphs.
Colin A. Smith, [email protected]
aafPathway, aafPathwayItem, aafList
An abstraction for KEGG pathway id elements from Bioconductor
data packages. Multiple instances of this class are held by the
wrapper class aafPathway
.
Objects are generally created by the aafPathway
constructor.
Objects can also be created manually by calls of the form
new("aafPathwayItem", id, name, enzyme)
.
id
:Object of class character
containing KEGG pathway id
name
:Object of class character
containing textual name (no longer supported)
enzyme
:Object of class character
containing the Enzyme
Commision number if applicable
(aafPathwayItem): Returns textual representation formatted
"id
: name
".
(aafPathwayItem): Returns a URL to the corresponding entry in the Kyoto Encyclopedia of Genes and Genomes database. If there is a corresponding EC number, it will be highlighted in red.
(aafPathwayItem): Returns an HTML representation including the URL link and pathway name.
Colin A. Smith, [email protected]
For the given probeids
, constructs an aafList
of
aafProbe
objects.
aafProbe(probeids)
aafProbe(probeids)
probeids |
character vector containing probe ids |
An aafList
of aafProbe
objects.
Colin A. Smith, [email protected]
if (require(hgu95av2.db)) { data(aafExpr) probes <- featureNames(aafExpr) probesets <- aafProbe(probes) getURL(probesets[6:10]) }
if (require(hgu95av2.db)) { data(aafExpr) probes <- featureNames(aafExpr) probesets <- aafProbe(probes) getURL(probesets[6:10]) }
An abstraction for Affymetrix ProbeSet ids.
Objects are generally created by the aafProbe
constructor. Objects can also be created manually by calls of the
form new("aafProbe", id)
.
.Data
:Object of class character
Class character
, from data part.
(aafProbe): Returns a URL to the annotation found in the Affymetrix NetAffx Analysis Center.
See generic implementations of getText
,
getHTML
, and getTD
.
Colin A. Smith, [email protected]
For the given probeids
, constructs a list of
aafPubMed
objects containing annotation data from the
chip
data package.
aafPubMed(probeids, chip)
aafPubMed(probeids, chip)
probeids |
character vector containing probe ids |
chip |
name of the chip data package |
An aafList
of aafPubMed
objects. NA values are returned as
empty objects.
Colin A. Smith, [email protected]
if (require(hgu95av2.db)) { data(aafExpr) probes <- featureNames(aafExpr) pmids <- aafPubMed(probes, "hgu95av2.db") show(pmids[6:10]) }
if (require(hgu95av2.db)) { data(aafExpr) probes <- featureNames(aafExpr) pmids <- aafPubMed(probes, "hgu95av2.db") show(pmids[6:10]) }
An abstraction for LocusLink ids from Bioconductor data packages.
Objects are generally created by the aafPubMed
constructor. Objects can also be created manually by calls of the
form new("aafPubMed", id)
.
.Data
:Object of class integer
Class integer
, from data part.
(aafPubMed): Returns a single URL to the corresponding abstracts in NCBI's PubMed database.
(aafPubMed): Returns an HTML link along with the number of abstracts.
(aafPubMed): Returns an HTML table cell representation with the class set to "aafPubMed".
(aafPubMed): Returns a line of CSS which centers the PubMed link.
Colin A. Smith, [email protected]
Searches Gene Ontology ids for corresponding probe ids in a given chip, optionally including descendents.
aafSearchGO(chip, ids, descendents = TRUE, logic = "OR")
aafSearchGO(chip, ids, descendents = TRUE, logic = "OR")
chip |
name of the chip data package |
ids |
numeric or character vector of GO ids |
descendents |
logical, include GO descendents? |
logic |
type of logic to use, "AND" or "OR" |
A character vector of probe ids matching the search criteria.
Colin A. Smith, [email protected]
Searches Bioconductor metadata annotation package text for specific strings or Perl compatible regular expressions.
aafSearchText(chip, colnames, text, logic = "OR")
aafSearchText(chip, colnames, text, logic = "OR")
chip |
name of the chip data package |
colnames |
character vector of metadata column names to search |
text |
character vector of strings/regular expressons to match |
logic |
type of logic to use, "AND" or "OR" |
A character vector of probe ids matching the search criteria.
Colin A. Smith, [email protected]
if (require(hgu95av2.db)) { aafSearchText("hgu95av2.db", "Description", c("kinase", "interferon")) # aafSearchText("hgu95av2.db", c("Gene Ontology", "Pathway"), "ribosome") }
if (require(hgu95av2.db)) { aafSearchText("hgu95av2.db", "Description", c("kinase", "interferon")) # aafSearchText("hgu95av2.db", c("Gene Ontology", "Pathway"), "ribosome") }
A class for displaying signed numerical data with different styles depending on the sign.
Objects are generally created by the aafTable
constructor. Objects can also be created manually by calls of the
form new("aafSigned", signedval)
.
.Data
:Object of class numeric
Class numeric
, from data part.
(aafSigned): Returns an HTML table cell with class
differentially set based on sign. aafSignedPos
is
used for positive values. aafSignedNeg
is used for
negative values. aafSignedZero
is used for zero values.
(aafSigned): Returns two lines of CSS that set the cell background of positive values light blue and negative values light red.
See generic implementations of getText
,
getURL
, and getHTML
.
Colin A. Smith, [email protected]
For the given probeids
, constructs a list of
aafSymbol
objects containing annotation data from the
chip
data package.
aafSymbol(probeids, chip)
aafSymbol(probeids, chip)
probeids |
character vector containing probe ids |
chip |
name of the chip data package |
An aafList
of aafSymbol
objects. NA values are returned as
empty objects.
Colin A. Smith, [email protected]
if (require(hgu95av2.db)) { data(aafExpr) probes <- featureNames(aafExpr) symbols <- aafSymbol(probes, "hgu95av2.db") show(symbols[6:10]) }
if (require(hgu95av2.db)) { data(aafExpr) probes <- featureNames(aafExpr) symbols <- aafSymbol(probes, "hgu95av2.db") show(symbols[6:10]) }
An abstraction for gene symbol from Bioconductor data packages.
Objects are generally created by the aafSymbol
constructor. Objects can also be created manually by calls of the
form new("aafSymbol", description)
.
.Data
:Object of class character
with gene symbol
Class character
, from data part.
No methods defined with class "aafSymbol" in the signature.
See generic implementations of getText
, getURL
,
getHTML
, and getTD
.
Colin A. Smith, [email protected]
Constructs an aafTable
object given vectors, lists, or
aafList
objects.
aafTable(..., items = list(...), colnames = names(items), probeids = character(0), signed = FALSE)
aafTable(..., items = list(...), colnames = names(items), probeids = character(0), signed = FALSE)
... |
named arguments, one for each column |
items |
alternatively a named list of the items to be put in the table |
colnames |
character vector of column names |
probeids |
character vector of probe ids associated with each row |
signed |
boolean, should each column be colored based on the sign? |
An aafTable
object.
Colin A. Smith, [email protected]
A class for storing and flexible output of microarray data to HTML and text formats.
Objects are generally created by any of the annotation table constructors
that are also part of this package. Objects can also be created manually
by calls of the form new("aafList", probeids, table)
.
probeids
:Object of class character
containing the probe ids
for each row of the table.
table
:Object of class list
containing aafList
objects
all of the same length, representing the columns of the table.
Each item in the list must have a unique name.
(aafTable): Returns a character vector containing the probe ids for each row of the table.
(aafTable): Sets the probe ids for the table rows. Can be
set to character(0)
if unknown or not applicable.
(aafTable): Returns a character vector containing the names of the columns stored in the table.
(aafTable): Set the column names for the table. Each must be unique.
(aafTable): Returns the dimensions of the table.
(aafTable, aafTable, all = FALSE, all.x = all, all.y = all, suffixes = c(".x",".y")): Merges two tables together, aligning common probe ids if possible. Duplicate column names are given suffixes to make them unique. Returns the merged table.
(aafTable, aafTable, ...): Vertically combines tables by row. Requires that column names be identical and that all tables either have probe ids defined or not.
Returns a subset of the table based on [row, column]. Indices may be passed as integers or probe ids/column names.
Returns the given table column. This also supports recursive subsetting to address columns, then cells, then sub-cells (if applicable). See Extract for more information.
Returns the given table column.
(aafTable, filename, title = "Bioconductor Affymetrix Probe Listing", colnames = colnames(aafTable), range = 1:dim(aafTable)[1], open = FALSE, widget = FALSE): Saves the table to HTML with the specified filename and title. Both the columns and the range of table rows can be specified. Range can either be specified as a character vector of probe ids or an integer vector of row positions. One can also specify whether to open the resulting file in the browser and whether to use a widget for column selection.
(aafTable, filename, header = TRUE, colnames = colnames(aafTable), range = 1:dim(aafTable)[1], widget = FALSE): Saves the table to tab delimited text with specified filename and optional header. Both the columns and the range of table rows can be specified. Range can either be specified as a character vector of probe ids or an integer vector of row positions. One can also specify whether to use a widget for column selection.
Colin A. Smith, [email protected]
aafTable, aafTableFrame, aafTableAnn, aafTableInt
Constructs an aafTable
object given a set of probe ids
and desired annotation types.
aafTableAnn(probeids, chip, colnames = aaf.handler(chip = chip), widget = FALSE)
aafTableAnn(probeids, chip, colnames = aaf.handler(chip = chip), widget = FALSE)
probeids |
character vector of probe ids |
chip |
name of the data package in which the annotation data is stored |
colnames |
character vector of annotation types |
widget |
boolean, use widget to select columns? |
An aafTable
object.
Colin A. Smith, [email protected]
Constructs an aafTable
object given a data frame.
aafTableFrame(frame, colnames = names(frame), probeids = row.names(frame), signed = FALSE)
aafTableFrame(frame, colnames = names(frame), probeids = row.names(frame), signed = FALSE)
frame |
data frame to be converted to the table |
colnames |
character vector of column names |
probeids |
character vector of probe ids associated with each row |
signed |
boolean, should each column be colored based on the sign? |
An aafTable
object.
Colin A. Smith, [email protected]
Constructs an aafTable
object containing expression values
given an ExpressionSet.
In the resulting HTML table, the expression values will have backgrounds with varying intensities of green depending on the expression measure.
aafTableInt(exprSet, colnames = sampleNames(exprSet), probeids = featureNames(exprSet))
aafTableInt(exprSet, colnames = sampleNames(exprSet), probeids = featureNames(exprSet))
exprSet |
object of class |
colnames |
character vector of column names |
probeids |
character vector of probe ids associated with each row |
An aafTable
object.
Colin A. Smith, [email protected]
Methods to get relevant stylesheet lines for an object.
Returns an empty character vector.
For information about other implementations of this method, see documentation of the respective class.
aafList-class, aafPubMed-class, aafGO-class, aafPathway-class, aafSigned-class
Methods to get an HTML representation of an object.
Returns text of object
along with URL link if applicable.
If object
is floating point, it displays a fixed number
of significant digits as specified by the sigfigs
option (default 6).
For information about other implementations of this method, see documentation of the respective class.
aafList-class, aafPubMed-class, aafGO-class, aafGOItem-class, aafPathway-class, aafPathwayItem-class
Methods to get an HTML table cell representation of an object.
Returns <td> tag containing HTML representation of object
. Sets class attribute to class(object)
.
For information about other implementations of this method, see documentation of the respective class.
aafList-class, aafGO-class, aafPathway-class, aafIntensity-class
Methods to get a textual representation of an object.
Returns a comma delimeted list of the elements in list
.
For information about other implementations of this method, see documentation of the respective class.
aafList-class, aafCytoband-class, aafGO-class, aafGOItem-class, aafPathway-class, aafPathwayItem-class
Methods to get a URL link to a web resource for an object.
Returns an empty character vector.
For information about other implementations of this method, see documentation of the respective class.
aafList-class, aafGenBank-class, aafLocusLink-class, aafCytoband-class, aafUniGene-class, aafPubMed-class, aafGO-class, aafGOItem-class, aafPathwayItem-class
Checks to see that the given packages contain all the necessary annotation environments to be usable by annaffy.
is.annpkg(packages, lib.loc = NULL)
is.annpkg(packages, lib.loc = NULL)
packages |
character vector containing package names to check |
lib.loc |
a character vector with path names of R libraries, or |
A logical vector indicating whether the packages contain annotation data.
Colin A. Smith, [email protected]
pkgnames <- installed.packages()[,"Package"] pkgnames <- pkgnames[1:5] pkgnames[is.annpkg(pkgnames)]
pkgnames <- installed.packages()[,"Package"] pkgnames <- pkgnames[1:5] pkgnames[is.annpkg(pkgnames)]
Presents the user with a dialog box to select items from a list.
selectorWidget(options, selected = character(0), title = "Selector", ordersel = FALSE, ordernsel = FALSE, height = max(10,min(20,length(options))))
selectorWidget(options, selected = character(0), title = "Selector", ordersel = FALSE, ordernsel = FALSE, height = max(10,min(20,length(options))))
options |
vector, options to be selected from |
selected |
vector, subset of options selected by default |
title |
character scalar, window title |
ordersel |
boolean, keep the selected items in order? |
ordernsel |
boolean, keep the not selected items in order? |
height |
scalar, height of the two listboxes |
A character vector containing the selected items. If a vector of a different class was initially provided, it must be manually coerced back to the correct type.
Colin A. Smith, [email protected]