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

Batch effects are removed using a two-stage regression approach and bagging.

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). |

`partial` |
A logical value indicating if partial bagging or full bugging have to be performed. See reference below. |

`nSim` |
Number of bootstrap samples. |

In this implementation NA values are not allowed.

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

Marco Giordan

M. Giordan. February 2013. A Two-Stage Procedure for the Removal of Batch Effects in Microarray Studies. *Statistics in Biosciences*.

`ber`

, `combat_np`

, `combat_p`

, `mean_centering`

, `standardization`

1 2 3 4 5 |

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.