Description Usage Arguments Details Value See Also Examples
Generate the annotation matrix from an object of class "Go3AnnDbBimap" in Bioconductor annotation package.
1 | get_GO_annotations(go.map, evidence = "ALL", category = "ALL", gene.set = NULL)
|
go.map |
An object of class "Go3AnnDbBimap". |
evidence |
Vector of string to filter the GO annotations, could be "ALL" or a set of evidence codes. |
category |
Vector of string to filter the GO categories, could be "ALL" or a set of GO categories. |
gene.set |
Vector of string to filter the genes. |
This function generates the annotation matrix required by enrichment analysis methods.
This function returns a sparse matrix as required by enrichment analysis methods, with each row represents a gene and each column denotes a term. The row names and column names are set as the corresponding gene and term ID respectively.
1 2 3 4 5 6 7 | ## Not run:
if (!requireNamespace("BiocManager"))
install.packages("BiocManager")
BiocManager::install("org.Hs.eg.db")
x <- get_GO_annotations(org.Hs.egGO2ALLEGS)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.