ReshapeData: Transform the response data from the data frame format to...

Description Usage Arguments Details Value Author(s) Examples

View source: R/Reshape_data.R

Description

A function to transform the response data from the data frame format to dose-response matrixes

Usage

1
ReshapeData(data, data.type = "viability")

Arguments

data

drug combination response data in a data frame format

data.type

a parameter to specify the response data type which can be either "viability" or "inhibition".

Details

The input data must contain the following columns: BlockID, DrugRow, DrugCol, Row, Col, Response, ConcRow, ConcCol, ConcUnit

Value

a list of the following components:

dose.response.mats

a list of the dose-response matrixes with %inhibition as the response data. Row names and column names are drug concentrations.

drug.pairs

a data frame contains the name of the row drug, the name of the column drug, concentration unit and block IDs.

Author(s)

Liye He [email protected]

Examples

1
2
data("mathews_screening_data")
data <- ReshapeData(mathews_screening_data)

hly89/synergyfinder documentation built on Feb. 14, 2018, 7:25 a.m.