# setBins

### Description

(Re-) set the bins for a FlowHist object

### Usage

1 | ```
setBins(fh, bins = 256)
``` |

### Arguments

`fh` |
a |

`bins` |
integer, the number of bins to use in aggregating FCS data |

### Details

This function sets (or resets) the number of bins to use in aggregating FCS data into a histogram, and generates the corresponding data matrix.

The `histData`

matrix also contains the `SCvals`

column. This
is used to calculate the single-cut debris component in the NLS model.

### Value

a `FlowHist`

object, with the `bins`

slot set to
`bins`

, and the corresonding binned data stored in a matrix in
the `histData`

slot. Any previous analysis slots are removed:
`peaks, comps, model, init, nls, counts, CV, RCS`

.

### Author(s)

Tyler Smith

### Examples

1 2 3 4 5 6 7 |