Fit probe-wise linear models using replicate samples on two different platforms or batches and return the fit in a format suitable for application to smoothing other data.

1 | ```
fit.LTR(dataset1, dataset2);
``` |

`dataset1` |
A matrix with samples as columns and probes as rows corresponding to the space we want to map expression values *out of* |

`dataset2` |
A matrix with samples as columns and probes as rows corresponding to the space we want to map expression values *into* |

dataset1 and dataset2 must have the same number of rows and columns, and must be identically ordered. Some gentle checking on the equivalence of rownames is done, but users must do proper assessment themselves. The model fitted is, for each probe Expression(dataset2) = intercept + slope x Expression(dataset1). Thus we are learning a transform from the space of dataset1 into the space of dataset2.

Returns a list with components: rownames vector, length nrow(dataset1), taken from dataset1 and components intercepts vector, length nrow(dataset1), taken from the LTR fit slopes vector, length nrow(dataset1), taken from the LTR fit r.squared vector, length nrow(dataset1), taken from the LTR fit residuals matrix nrow(dataset1) x ncol(dataset1) that gives for each gene/sample tuple in dataset2 the residual of the fit

Paul C. Boutros

This would be the LTR paper if/when it gets published

1 2 3 |

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

Please suggest features or report bugs with the GitHub issue tracker.

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