prepareDrugSets {cTRAP} | R Documentation |
Prepare drug sets from a table with compound descriptors
prepareDrugSets(table, id = 1, maxUniqueElems = 15)
table |
Data frame: drug descriptors |
id |
Integer or character: index or name of the column containing identifiers |
maxUniqueElems |
Numeric: maximum number of unique elements in a descriptor to consider when creating discrete drug sets |
Named list of characters: named drug sets with respective compound identifiers as list elements
Other functions for drug set enrichment analysis:
analyseDrugSetEnrichment()
,
loadDrugDescriptors()
,
plotDrugSetEnrichment()
descriptors <- loadDrugDescriptors("NCI60") prepareDrugSets(descriptors)