GOsims-class {tRanslatome} | R Documentation

## Class `GOsims`

### Description

A class generated from the function `GOComparison()` containing the result of the differential expression analysis at the two expression levels.

### Slots

`similarity.matrix`:

  Object of class `matrix` containing the semantic similarity comparison between the GO terms enriched at the two levels of analysis. The matrix contains one row for each pairwise comparison between GO terms enriched in the two levels, while columns are organized as follows:

  1. `direction`, direction of the comparison: "first level to second level" means that an enriched GO term from the first level is compared to the most similar GO term enriched in the second level, "second level to first level" means that an enriched GO term from the second level is compared to the most similar GO term enriched in the first level. Level names are taken from the object of class `GOsets` given as input to the function `GOcomparison`.

  2. `ontology`, GO ontology of the two terms, either `BP`,`CC` or `MF`.

  3. `level`, gene expression levels for which the term is enriched, either "first level only", "second level only" or "both levels". Level names are taken from the object of class `GOsets` given as input to the function `GOcomparison`.

  4. `start.GO.ID`, Gene Ontology accession ID of the first term of the comparison.

  5. `start.term`, Gene Ontology name of the first term of the comparison.

  6. `end.GO.ID`, Gene Ontology accession ID of the second term of the comparison.

  7. `end.term`, Gene Ontology name of the second term of the comparison.

  8. `similarity.score`, semantic similarity value between the two campared GO terms.

`identity.matrix`:

  Object of class `matrix` containing the identity comparison between the GO terms enriched at the two levels of analysis. The matrix contains one row for each GO term, while columns are organized as follows:

  1. `ontology`, GO ontology of the term, either `BP`,`CC` or `MF`.

  2. `level`, gene expression levels for which the term is enriched, either "first level only", "second level only" or "both levels". Level names are taken from the object of class `GOsets` given as input to the function `GOcomparison`.

  3. `GO.ID`, Gene Ontology accession ID of the term.

  4. `term`, Gene Ontology name of the term.

`average.similarity.scores`:

  Object of class `vector` containing the general semantic similarity scores between the GO terms enriched at the two levels of analysis. One similarity score, ranging from 0 to 1, is produced for each GO ontology having at least one enriched term.

### Accessors

identity.matrix

  `signature(object = "GOsims")`: displays the slot `identity.matrix`.

similarity.matrix

  `signature(object = "GOsims")`: displays the slot `similarity.matrix`.

average.similarity.scores

  `signature(object = "GOsims")`: displays the slot `average.similarity.scores`.

### Methods

IdentityPlot

  `signature(object = "GOsims")`: enables the generation of a barplot where, for each GO ontology, the number of GO terms enriched at different levels are displayed.

SimilarityPlot

  `signature(object = "GOsims")`: enables the generation of a barplot where, for each GO ontology, the semantic similarity value between GO terms enriched at different levels is displayed.

### Author(s)

Toma Tebaldi, Erik Dassi, Galena Kostoska

### See Also

`TranslatomeDataset` `computeDEGs` `GOEnrichment` `GOsets`

### Examples

    showClass("GOsims")

[Package tRanslatome version 1.18.5 Index]