Description Usage Arguments Details Value Author(s) References See Also Examples

Batch effects are removed using a non-parametric empirical Bayes approach, as described in Johnson et al. 2007.

1 |

`Y` |
A matrix with |

`b` |
A vector of class factor with the element in position |

`covariates` |
An object of class data.frame where each column corresponds to a quantitative variable (of class numeric) or a qualitative variable (of class factor). |

In this implementation pre-processing of the data is obtained through Moore-Penrose pseudo inverse. The final matrix of adjusted data can be different from that obtained through the original ComBat algorithm (see sva package) due to small differences in the optimization peocedure. NA values are not allowed.

A matrix of adjusted data with *n* rows and *g* columns.

Marco Giordan

Johnson et al. 2007 http://www.ncbi.nlm.nih.gov/pubmed/16632515

`ber`

, `ber_bg`

, `combat_p`

, `mean_centering`

, `standardization`

1 2 3 4 5 |

```
Loading required package: MASS
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.