This function is the implementation of the two step approach for estimating surrogate
variables proposed by Leek and Storey 2007 PLoS Genetics. This function is primarily
included for backwards compatibility. Newer versions of the sva algorithm are available
through `sva`

, `svaseq`

, with low level functionality available
through `irwsva.build`

and `ssva`

.

1 |

`dat` |
The transformed data matrix with the variables in rows and samples in columns |

`batch` |
A factor variable giving the known batch levels |

`...` |
Other arguments to the |

psva.D Data with batch effect removed but biological heterogeneity preserved

Elana J. Fertig

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.