Skip to content
Snippets Groups Projects
Commit 4911e05e authored by Aurelien Brionne's avatar Aurelien Brionne
Browse files

vignette update

parent b039f6de
No related branches found
No related tags found
No related merge requests found
Package: ViSEAGO Package: ViSEAGO
Version: 1.3.12 Version: 1.3.13
Title: ViSEAGO: a Bioconductor package for clustering biological functions using Gene Ontology and semantic similarity Title: ViSEAGO: a Bioconductor package for clustering biological functions using Gene Ontology and semantic similarity
Author: Aurelien Brionne [aut, cre], Author: Aurelien Brionne [aut, cre],
Amelie Juanchich [aut], Amelie Juanchich [aut],
......
...@@ -27,7 +27,7 @@ remotes::install_gitlab( ...@@ -27,7 +27,7 @@ remotes::install_gitlab(
devtools::build("ViSEAGO") devtools::build("ViSEAGO")
# install package (from R console) # install package (from R console)
install.packages("ViSEAGO_1.3.12.tar.gz", repos = NULL, type = "source") install.packages("ViSEAGO_1.3.13.tar.gz", repos = NULL, type = "source")
``` ```
## Citation ## Citation
......
...@@ -168,7 +168,7 @@ myGENE2GO<-ViSEAGO::annotate( ...@@ -168,7 +168,7 @@ myGENE2GO<-ViSEAGO::annotate(
## GO enrichment tests ## GO enrichment tests
### topGO ### topGO{-}
The GO terms enrichment tests can be performed with the `r BiocStyle::Biocpkg("topGO")` package @pmid16606683, which support several algorithms that improve GO group scoring using the underlying GO graph topology. The GO terms enrichment tests can be performed with the `r BiocStyle::Biocpkg("topGO")` package @pmid16606683, which support several algorithms that improve GO group scoring using the underlying GO graph topology.
...@@ -196,27 +196,42 @@ classic<-topGO::runTest( ...@@ -196,27 +196,42 @@ classic<-topGO::runTest(
) )
``` ```
### fgsea ### fgsea{-}
Alternatively, the GO terms enrichment tests can performed with the `r BiocStyle::Biocpkg("fgsea")` package @fgsea, which support several algorithms that improve GO group scoring using the underlying GO graph topology.
First, we create a `topGOdata` object, using `ViSEAGO::create_topGOdata` method, with inputs as: genes selection, genes background, GO terms category used (*MF*, *BP*, or *CC*), and minimum of annotated genes by GO terms (nodeSize).
The GO terms enrichment tests can be performed with the `r BiocStyle::Biocpkg("fgsea")` package @fgsea, with inputs as: preranked gene identifiers with statistical values , GO terms category used (*MF*, *BP*, or *CC*), fgsea algorithm, and fgsea parameters to use.
```{r fgsea}
# perform fgseaMultilevel tests
BP<-ViSEAGO::runfgsea(
geneSel=table,
ont="BP",
gene2GO=myGENE2GO,
method ="fgseaMultilevel",
params = list(
scoreType = "pos",
minSize=5
)
)
```
## Combine enriched GO terms ## Combine enriched GO terms
We combine results of enrichment tests into an object using `ViSEAGO::merge_enrich_terms` method. A table of enriched GO terms in at least one comparison is displayed in interactive mode, or printed in a file using `ViSEAGO::show_table` method. The printed table contains for each enriched GO terms, additional columns including the list of significant genes and frequency (ratio of number of significant genes to number of background genes) evaluated by comparison. We combine results of enrichment tests into an object using `ViSEAGO::merge_enrich_terms` method. A table of enriched GO terms in at least one comparison is displayed in interactive mode, or printed in a file using `ViSEAGO::show_table` method. The printed table contains for each enriched GO terms, additional columns including the list of significant genes and frequency (ratio of number of significant genes to number of background genes) evaluated by comparison.
```{r Enrichment_merge} ```{r Enrichment_merge}
# merge results # merge results from topGO
BP_sResults<-ViSEAGO::merge_enrich_terms( BP_sResults<-ViSEAGO::merge_enrich_terms(
Input=list( Input=list(
condition=c("BP","classic") condition=c("BP","classic")
) )
) )
# merge results from fgsea
BP_sResults<-ViSEAGO::merge_enrich_terms(
Input=list(
condition="BP"
)
)
``` ```
```{r Enrichment_merge_display} ```{r Enrichment_merge_display}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment