prepareDrugSets {cTRAP} | R Documentation

## Prepare drug sets from a table with compound descriptors

### Description

Prepare drug sets from a table with compound descriptors

### Usage

    prepareDrugSets(table, id = 1, maxUniqueElems = 15)

### Arguments

`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

### Value

Named list of characters: named drug sets with respective compound identifiers as list elements

### See Also

Other functions for drug set enrichment analysis: `analyseDrugSetEnrichment`, `loadDrugDescriptors`, `plotDrugSetEnrichment`

### Examples

    descriptors <- loadDrugDescriptors("NCI60")
    prepareDrugSets(descriptors)

[Package cTRAP version 1.5.0 Index]