binByRef {flowStats} | R Documentation

## Bin a test data set using bins previously created by probability binning a control dataset

### Description

The bins generated by probability binning a control data set can be applied to a test data set to perfom statistical comparisions by methods such as the Chi-squared test or the probability binning statistic.

### Usage

    binByRef(binRes, data)

### Arguments

`binRes` | The result generated by calling teh `probBin` function on a control dataset.
`data` | An object of class `flowFrame`

### Value

An enviroment containing the matrices for each bin of the test data set

### Author(s)

Nishant Gopalakrishnan

### See Also

`plotBins`, `proBin`

### Examples

    library(flowCore)
    data(GvHD)
    resCtrl<-proBin(GvHD[[1]],200)
    resSample<-binByRef(resCtrl,GvHD[[2]])
    ls(resSample)

[Package flowStats version 4.0.0 Index]