glds: This function determines drug-gene associations for...

View source: R/GLDS.R

gldsR Documentation

This function determines drug-gene associations for pre-clinical data.

Description

This function determines drug-gene associations for pre-clinical data.

Usage

glds(
  drugMat,
  drugRelatedness,
  markerMat,
  minMuts = 5,
  additionalCovariateMatrix = NULL,
  expression = NULL,
  threshold = 0.7
)

Arguments

drugMat

A matrix of drug sensitivity data. rownames() are pre-clinical samples, and colnames() are drug names.

drugRelatedness

A matrix in which column 1 contains a list of compounds, and column 2 contains a list of their corresponding target pathways. Given the subjective nature of drug classification, please ensure these pathways are as specific as possible for accurate results.

markerMat

A matrix containing the data for which you are looking for an association with drug sensitivity (e.g. a matrix of somatic mutation data). rownames() are marker names (e.g. gene names), and colnames() are samples.

minMuts

The minimum number of non-zero entries required so that a p-value can be calculated (e.g. how many somatic mutations must be present). The default is 5.

additionalCovariateMatrix

A matrix containing covariates to be fit in the drug biomarker association models. This could be, for example, tissue of origin or cancer type. Columns are sample names. The default is NULL.

expression

A matrix of expression data. rownames() are genes, and colnames() are the same pre-clinical samples as those in the drugMat (also in the same order). The default is NULL. If expression data is provided, a gene signature will be obtained.

threshold

Determine the correlation coefficient. Drugs with a correlation coefficient greater than or equal to this number with the drug under scrutiny will be removed from the negative control group. The default is 0.7

Value

Naive and corrected p-values and beta-values, as well as a gene signature

Examples

try(glds(
drugMat,
drugRelatedness,
markerMat,
minMuts = 5,
additionalCovariateMatrix = NULL,
expression = NULL,
threshold = 0.7))


maese005/oncoPredict documentation built on Sept. 13, 2023, 2:57 p.m.