matchStatsWithDrugSetsID: Match identifiers between data and drug sets

Description Usage Arguments Value

View source: R/drugSetEnrichment.R

Description

Match identifiers between data and drug sets

Usage

1

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)


cTRAP documentation built on Nov. 8, 2020, 10:58 p.m.