View source: R/drugSetEnrichment.R
plotDrugSetEnrichment | R Documentation |
Plot drug set enrichment
plotDrugSetEnrichment(
sets,
stats,
col = "rankProduct_rank",
selectedSets = NULL,
keyColSets = NULL,
keyColStats = NULL
)
sets |
Named list of characters: named sets containing compound
identifiers (obtain drug sets by running |
stats |
Named numeric vector or either a |
col |
Character: name of the column to use for statistics (only required
if class of |
selectedSets |
Character: drug sets to plot (if |
keyColSets |
Character: column from |
keyColStats |
Character: column from |
List of GSEA plots per drug set
Other functions for drug set enrichment analysis:
analyseDrugSetEnrichment()
,
loadDrugDescriptors()
,
prepareDrugSets()
descriptors <- loadDrugDescriptors()
drugSets <- prepareDrugSets(descriptors)
# Analyse drug set enrichment in ranked targeting drugs for a differential
# expression profile
data("diffExprStat")
gdsc <- loadExpressionDrugSensitivityAssociation("GDSC")
predicted <- predictTargetingDrugs(diffExprStat, gdsc)
plotDrugSetEnrichment(drugSets, predicted)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.