matchStatsWithDrugSetsID {cTRAP} | R Documentation |
Match identifiers between data and drug sets
matchStatsWithDrugSetsID( sets, stats, col = "values", keyColSets = NULL, keyColStats = 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 |
keyColSets |
Character: column from |
keyColStats |
Character: column from |
Statistic values from input data and corresponding identifiers as
names (if no match is found, the original identifier from argument
stats
is used)