filterCMapMetadata {cTRAP} | R Documentation

## Filter CMap metadata

### Description

Filter CMap metadata

### Usage

    filterCMapMetadata(
      metadata,
      cellLine = NULL,
      timepoint = NULL,
      dosage = NULL,
      perturbationType = NULL
    )

### Arguments

`metadata` | Data frame (CMap metadata) or character (respective filepath)
`cellLine` | Character: cell line (if `NULL`, all values are loaded)
`timepoint` | Character: timepoint (if `NULL`, all values are loaded)
`dosage` | Character: dosage (if `NULL`, all values are loaded)
`perturbationType` | Character: type of perturbation (if `NULL`, all perturbation types are loaded)

### Value

Filtered CMap metadata

### See Also

Other functions related with the ranking of CMap perturbations: `as.table.referenceComparison()`, `getCMapConditions()`, `getCMapPerturbationTypes()`, `loadCMapData()`, `loadCMapZscores()`, `parseCMapID()`, `plot.perturbationChanges()`, `plot.referenceComparison()`, `plotTargetingDrugsVSsimilarPerturbations()`, `prepareCMapPerturbations()`, `print.similarPerturbations()`, `rankSimilarPerturbations()`

### Examples

    cmapMetadata <- loadCMapData("cmapMetadata.txt", "metadata")
    filterCMapMetadata(cmapMetadata, cellLine="HEPG2", timepoint="2 h",
                       dosage="25 ng/mL")

[Package cTRAP version 1.12.0 Index]