View source: R/octadDrugEnrichment.R
octadDrugEnrichment | R Documentation |
Perform enrichment analysis of drug hits based on chemical structures, drug-targets, and pharmacological classifications. An enrichment score calculated using ssGSEA and a p-value computed through a permutation test are provided.
octadDrugEnrichment(sRGES = NULL, target_type = "chembl_targets", enrichFolder = "enrichFolder", outputFolder = NULL, outputRank = FALSE)
sRGES |
sRGES data frame produced by |
target_type |
one or several of |
enrichFolder |
folder to store output. |
outputFolder |
path where to store enrichFolder, in case of |
outputRank |
output detailed rank if |
Following files are created:
enriched_*_targets.csv
and top_enriched_*_*_targets.pdf
. In the case of chemical structural analysis, additional files are created: *drugstructureClusters.csv
and *misc.csv
. The results provide useful information for following candidate selection and experimental design. For example, if two structurally similar drugs are both predicted as top hits, the chance of each drug as a true positive is high.
exprData |
|
runsRGES
data("sRGES_example",package='octad') #load example sRGES #run drug enrichment octadDrugEnrichment(sRGES = sRGES_example, target_type = c('chembl_targets'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.