loadExpressionDrugSensitivityAssociation {cTRAP} | R Documentation

## Load gene expression and drug sensitivity correlation matrix

### Description

Load gene expression and drug sensitivity correlation matrix

### Usage

    loadExpressionDrugSensitivityAssociation(
      source,
      file = NULL,
      path = NULL,
      rows = NULL,
      cols = NULL,
      loadValues = FALSE
    )

### Arguments

`source` | Character: source of matrix to load; see `listExpressionDrugSensitivityAssociation`
`file` | Character: filepath to gene expression and drug sensitivity association dataset (automatically downloaded if file does not exist)
`path` | Character: folder where to find files (optional; `file` may contain the full filepath if preferred)
`rows` | Character or integer: rows
`cols` | Character or integer: columns
`loadValues` | Boolean: load data values (if available)? If `FALSE`, downstream functions will load and process directly from the file chunk by chunk, resulting in a lower memory footprint

### Value

Correlation matrix between gene expression (rows) and drug sensitivity (columns)

### See Also

Other functions related with the prediction of targeting drugs: `as.table.referenceComparison()`, `listExpressionDrugSensitivityAssociation()`, `plot.referenceComparison()`, `plotTargetingDrugsVSsimilarPerturbations()`, `predictTargetingDrugs()`

### Examples

    gdsc <- listExpressionDrugSensitivityAssociation()[[1]]
    loadExpressionDrugSensitivityAssociation(gdsc)

[Package cTRAP version 1.12.0 Index]