Description Usage Arguments Details Value See Also Examples
The dsea_hyperG
function performs Drug Set Enrichment Analysis (DSEA)
based on the hypergeomtric distribution. In case of DSEA, the identifiers of
the top ranking drugs from a GESS result table are used. To use drug
instead of gene labels for this test, the former are mapped to functional
categories, including GO, KEGG or Mode of Action (MOA) categories, based on
drug-target interaction annotations provided by databases such as DrugBank,
ChEMBL, CLUE or STITCH. Currently, the MOA annotation used by this function
are from the CLUE website (https://clue.io).
1 2 3 4 5 6 7 8 9 10 | dsea_hyperG(
drugs,
type = "GO",
ont = "BP",
pvalueCutoff = 0.05,
pAdjustMethod = "BH",
qvalueCutoff = 0.2,
minGSSize = 10,
maxGSSize = 500
)
|
drugs |
character vector, query drug identifier set used for functional enrichment testing. This can be the top ranking drugs from a GESS result. |
type |
one of 'GO', 'KEGG' or 'MOA' |
ont |
character(1). If type is 'GO', assign |
pvalueCutoff |
double, p-value cutoff to return only enrichment results for drugs meeting a user definable confidence threshold |
pAdjustMethod |
p-value adjustment method, one of 'holm', 'hochberg', 'hommel', 'bonferroni', 'BH', 'BY', 'fdr' |
qvalueCutoff |
double, qvalue cutoff, similar to |
minGSSize |
integer, annotation categories with less than
|
maxGSSize |
integer, annotation categories with more drugs annotated
than |
Compared to the related Target Set Enrichment Analysis (TSEA; see help
tsea_dup_hyperG
or tsea_mGSEA
), the DSEA approach has the
advantage that the drugs in the query test sets are usually unique allowing
to use them without major modifications to the underlying statistical
method(s).
The DSEA results stored in the feaResult
object can be returned with
the result
method in tabular format, here tibble
. The columns
of this tibble
are described in the help of the
tsea_dup_hyperG
function.
feaResult
object containing the enrichment results of
functional categories (e.g. GO terms or KEGG pathways) ranked by the
corresponding enrichment statistic.
1 2 3 4 5 6 7 8 9 | data(drugs10)
## GO annotation system
# hyperG_res <- dsea_hyperG(drugs = drugs10, type = "GO", ont="MF")
# result(hyperG_res)
## KEGG annotation system
#hyperG_k_res <- dsea_hyperG(drugs = drugs10, type = "KEGG",
# pvalueCutoff = 1, qvalueCutoff = 1,
# minGSSize = 10, maxGSSize = 500)
#result(hyperG_k_res)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.