matchStatsWithDrugSetsID {cTRAP} | R Documentation

## Match identifiers between data and drug sets

### Description

Match identifiers between data and drug sets

### Usage

    matchStatsWithDrugSetsID(sets, stats, col = NULL)

### Arguments

`sets` | Named list of characters: named sets containing compound identifiers (obtain drug sets by running `prepareDrugSets()`)
`stats` | Named numeric vector or either a `similarPerturbations` or a `targetingDrugs` object (obtained after running `rankSimilarPerturbations` or `predictTargetingDrugs`, respectively)
`col` | Character: name of the column to use for statistics (only required if class of `stats` is either `similarPerturbations` or `targetingDrugs`)

### Value

Statistic values from input data and corresponding identifiers as names (if no match is found, the original identifier from argument `stats` is used)

[Package cTRAP version 1.8.0 Index]