updateFlowHist

Share:

Description

Update, and optionally re-analyze, a FlowHist object

Usage

1
updateFlowHist(fh, linearity = NULL, debris = NULL, analyze = TRUE)

Arguments

fh

a FlowHist object

linearity

character, either "variable", the default, or "fixed". If "fixed", linearity is fixed at 2; if "variable", linearity is fit as a model parameter.

debris

character, either "SC", the default, or "MC", to set the debris model component to the Single-Cut or Multi-Cut models.

analyze

boolean, if TRUE the updated model will be analyzed immediately

Details

Allows users to switch the debris model from Single-Cut to Multi-Cut (or vice-versa), or to toggle linearity between fixed and variable.

Value

a FlowHist object with the modified values of linearity and/or debris, and, if analyze was TRUE, a new NLS fitting

Author(s)

Tyler Smith

Examples

1
2
3
4
5
6
## defaults to 256 bins:
library(flowPloidyData) 
fh1 <- FlowHist(file = flowPloidyFiles[1], channel = "FL3.INT.LIN")
## default is Single-Cut, change that to Multi-Cut:
fh1mc <- updateFlowHist(fh1, debris = "MC")
plot(fh1)