plotDrugSetEnrichment {cTRAP} | R Documentation |
Plot drug set enrichment
plotDrugSetEnrichment(sets, stats, col = "rankProduct_rank", selectedSets = 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 |
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)