Description Usage Arguments Value

Given the output of the function BindSPE we would like to control for biases introduced by binning all the data together. ConstructSampleFactors takes the output of BindSPE and returns a model matrix of factors highlighting what sample a given cell is from

1 | ```
ConstructSampleFactors(XY, sample.ids, intercept = TRUE)
``` |

`XY` |
An |

`sample.ids` |
The IDs of the samples that have been bound together - for naming the factors |

`intercept` |
If true an intercept is modelled when calling the function |

A model matrix that correctly accounts for differing
means of samples as the result of binding them together
using the function `BindSPE`

.

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.