# Baseline correction for the dose-response matrix of drug combinations

### Description

A function to do baseline correction on the dose-response matrix for drug combinations with a weighted correction fator

### Usage

1 2 | ```
BaselineCorrectionSD(response.mat, Emin = NA, Emax = NA,
nan.handle = c("LL4", "L4"))
``` |

### Arguments

`response.mat` |
a dose-response matrix with concentrations as row names and column names. |

`Emin` |
the minimal effect of the drug used in the 4-parameter log-logistic function to fit the dose-response curve. If it is not NA, it is fixed the value assigned by the user. Defaults to NA. |

`Emax` |
the maximal effect of the drug used in the 4-parameter log-logistic function to fit the dose-response curve. If it is not NA, it is fixed the value assigned by the user. Defaults to NA. |

`nan.handle` |
a parameter to specify if L.4 function or LL.4 function is used when fitting with LL.4 produces NaNs. |

### Value

A list of the original dose-response matrix without correction and the corrected dose-response matrix.

### Author(s)

Liye He liye.he@helsinki.fi, Jing Tang jing.tang@helsinki.fi

### Examples

1 2 3 | ```
data("mathews_screening_data")
data <- ReshapeData(mathews_screening_data)
data <- BaselineCorrectionSD(data$dose.response.mats[[1]])
``` |