Load gene expression and drug sensitivity correlation matrix

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)

Examples

gdsc <- listExpressionDrugSensitivityAssociation()[[1]]
loadExpressionDrugSensitivityAssociation(gdsc)
#> Loading data from expressionDrugSensitivityCorGDSC7.qs...
#> Error in qread(file): Malformed compress block: compressed size > compress bound