Description Objects from the Class Slots Methods Author(s) See Also Examples
These classes provides a way to tag the origin of a
GeneSet
. Collection types can be used in manipulating
(e.g., selecting) sets, and can contain information specific to
particular sets (e.g., category
and subcategory
classifications of BroadCollection
.)
The following classes can tag gene sets; GO, KEGG, Chr, Chrloc,
OMIM, and PMID
collections can be derived from chip or organism
‘annotation’ packages.
No formal collection information available.
Derived from, or destined to be, Broad
XML. Usually created and written getBroadSets
,
toBroadXML
.
A computationally created collection, e.g., by performing logic operations on gene sets.
Derived from
ExpressionSet
. Usually
created during a call to GeneSet
or
GeneColorSet
.
Collection derived using Gene Ontology (GO) terms.
Collection derived from GOCollection
,
specifically from files described by the OBO file format. See
OBOCollection
Collection derived using KEGG terms.
Collection derived using chromsome locations
Collection derived using chromosome starting posistions
Collection derived from cytogenic bands.
Collection derived from identifiers in the Online Inheritance in Man.
Collection derived from PMID identifiers.
Collection derived from Pfam identifiers.
Collection derived from Prosite identifiers.
Objects are instantiated with calls to CollectionType
constructors, with slot names as possible arguments.
CollectionType
classes (Null, ComputedCollection,
ExpressionSet
) have the slot:
type
:Object of class "ScalarCharacter"
containing the character string representation of this
CollectionType
.
CollectionIdType
classes (KEGG, OMIM, PMID, Chr, Chrloc,
Map, GO
) extend the CollectionType
and have the additional
slot:
ids
:Object of class "character"
containing a
vector of character string representations of corresponding
identifiers, e.g., ‘KEGG’ or ‘GO’ terms.
GOCollection
extends CollectionIdType
and has the
additional slot:
evidenceCode
:Object of class "character"
,
containing GO evidence codes used to construct the gene set.
Object of class "character"
vector of GO
ontology terms used to filter GO terms in the GO Collection.
The values of evidenceCode
are
Inferred from Experiment
Inferred from Direct Assay
Inferred from Physical Interaction
Inferred from Mutant Phenotype
Inferred from Genetic Interaction
Inferred from Expression Pattern
Inferred from Sequence or Structural Similarity
Inferred from Sequence Orthology
Inferred from Sequence Alignment
Inferred from Sequence Model
Inferred from Genomic Context
inferred from Reviewed Computational Analysis
Traceable Author Statement
Non-traceable Author Statement
Inferred by Curator
No biological Data available
Inferred from Electronic Annotation
OBOCollection
extends GOCollection
; see
OBOCollection
.
BroadCollection
has slots:
category
:Object of class "ScalarCharacter"
containing terms from the Broad list of categories, or NA
subCategory
:Object of class "ScalarCharacter"
containing Broad sub-categories, or NA
CollectionType
classes have methods:
signature(object = "GeneSet", value =
"CollectionType")
: Replace the CollectionType
signature(object = "CollectionType")
:
Retrieve the collection type.
signature(e1="CollectionType",
e2="CollectionType")
: return e1
when class(e1)
and
class(e2)
are the same, or ComputedCollection
when different.
signature(object = "CollectionType")
: display the
collection type.
CollectionIdType
classes inherit CollectionType
methods,
and have in addition:
signature(object="CollectionIdType")
: Retrieve the
identifiers of the collection type.
signature(object="CollectionIdType", i="missing",
j="missing", ..., ids=ids(object))
: return a subset of
object
containing only ids in ids
signature(e1="CollectionIdType", e2="CollectionIdType")
:
always return ComputedCollection
.
GOCollection
inherits CollectionIdType
methods, and has
in addition:
Retrieve the evidence codes of the GO collection.
Retrieve the ontology terms of the GO collection.
signature(object="CollectionIdType", i="missing",
j="missing", ..., evidenceCode=evidenceCode(object),
ontology=ontology(object))
: return a subset of
object
containing only evidence and ontology codes in
evidenceCode
, ontology
. This method passes
arguments ... to [,CollectionIdType
methods.
BroadCollection
has methods:
Retrieve the category
of the Broad
collection.
Retrieve the sub-category of the Broad collection.
Martin Morgan <Martin.Morgan@RoswellPark.org>
CollectionType
consturctors; getBroadSets
for importing collections from the Broad (and sources).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | names(getClass("CollectionType")@subclasses)
## Create a CollectionType and ask for its type
collectionType(ExpressionSetCollection())
## Read two GeneSets from a Broad XML file into a list, verify that
## they are both BroadCollection's. Category / subcategory information
## is unique to Broad collections.
fl <- system.file("extdata", "Broad.xml", package="GSEABase")
sets <- getBroadSets(fl)
sapply(sets, collectionType)
## ExpressionSets are tagged with ExpressionSetCollection; there is no
## 'category' information.
data(sample.ExpressionSet)
gs <- GeneSet(sample.ExpressionSet[100:109],
setName="sample.GeneSet", setIdentifier="123")
collectionType(gs)
## GOCollections are created by reference to GO terms and evidenceCodes
GOCollection("GO:0005488")
## requires library(GO); EntrezIdentifers automatically created
## Not run:
GeneSet(GOCollection(c("GO:0005488", "GO:0019825"),
evidenceCode="IDA"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.