Description Usage Arguments Value Examples
View source: R/pathway_over_representation.R
This is a wrapper around goana
function
from limma
package for testing over-representation of gene ontology
(GO) terms or KEGG pathways in sets of genes.
1 2 3 4 |
object |
A |
features |
A vector of ENTREZID for enrichment testing. |
species |
A character string specifying the species.
See |
feature_column |
the feature column in 'feature.data' slot holding ENTREZIDs, by deafult the 'feature' column. |
universe |
A vector of genes in the universe. By default all the genes in the 'raw.data' slot. |
clustered |
Whether |
kegg |
Whether KEGG pathways should be used instead of gene ontology (GO) |
ontology |
character vector of ontologies to be included in output. Elements should be one or more of "BP", "CC" or "MF". |
fltr_DE |
A scalar fraction of the number of genes in tested set to use as a threshold for filtering genes based on "DE" column (the number of genes in the DE set). Default is 0.1, i.e. at least 0.1 genes in the set must be present in the pathway. |
fltr_N |
A number of genes used as a threshold to filter out all pathway terms of size greater than the threshold. Default is 500. |
fltr_P.DE |
A p-value threshold to filter out terms in the enrichment results. Default is 0.05. |
... |
other parameters for |
a data.frame
or list of data.frame
s with enrichment
results.
1 2 3 4 5 6 7 8 9 | data("endoderm_small")
selected_genes <- c('114299', '2825', '3855', '221400', '7941',
'6164', '1292', '6161', '6144', '23521')
enrich_res <- pathwayEnrichment(
object = endoderm_small, clustered = FALSE,
features = selected_genes,
species = "Hs", ontology = "BP", fltr_DE = 0,
fltr_N = Inf, fltr_P.DE = 0.05)
head(enrich_res)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.