Firstly, you need to provide the gene *background* (= expressed genes) and *selection* files.
```{r geneList_input}
```{r geneList_input_topGO}
# load genes background
background<-scan(
"background.txt",
...
...
@@ -71,6 +73,18 @@ selection<-scan(
)
```
## fgsea{-}
Or a table with gene identifiers and statistical value to use for ranking.
```{r geneList_input_fgsea}
# load gene identifiers column 1) and corresponding statistical value (column 2)
table<-data.table::fread("table.txt")
# rank gene identifiers according statistical value
data.table::setorder(table,value)
```
# GO annotation of genes
The [Gene Ontology](http://www.geneontology.org) (GO) is a community-based bioinformatics resource that supplies information about gene product function using ontologies to represent biological knowledge @pmid25428369.