mkPrior {flowClust} | R Documentation

## Generate a flowClust prior specification

### Description

Generate a flowClust prior specification from gates and data

### Usage

    mkPrior(gate, data, nu0, Omega0, ...)

    ## S4 method for signature 'polygonGate,flowFrame,numeric,matrix'
    mkPrior(gate, data, nu0,
      Omega0)

    ## S4 method for signature 'rectangleGate,flowFrame,numeric,matrix'
    mkPrior(gate, data, nu0,
      Omega0)

    ## S4 method for signature 'rectangleGate,flowFrame,missing,missing'
    mkPrior(gate, data,
      nu0 = NA, Omega0 = NA)

    ## S4 method for signature 'polygonGate,flowFrame,missing,missing'
    mkPrior(gate, data,
      nu0 = NA, Omega0 = NA)

    ## S4 method for signature 'list,flowSet,missing,missing'
    mkPrior(gate, data, nu0 = NA,
      Omega0, model.cov = "full", model.means = "full")

    ## S4 method for signature 'missing,flowSet,ANY,missing'
    mkPrior(gate, data, nu0 = NA,
      Omega0, model.cov = "full", model.means = "full")

    ## S4 method for signature 'missing,flowFrame,missing,missing'
    mkPrior(gate, data, nu0,
      Omega0)

    ## S4 method for signature 'list,flowSet,ANY,missing'
    mkPrior(gate, data, nu0 = NA,
      Omega0, model.cov = "full", model.means = "full")

### Arguments

`gate` | A list of flowCore gates. The gates should represent the SAME population gated across multiple samples.
`data` | A flowSet of the same size as the number of gates above. Each flowFrame in the flowSet should contain the events representing the population in its corresponding gate. i.e. it should be the gated data.
`nu0` | The nu0 hyperparameter. For estimation from data, it should be nu0=NA.
`Omega0` | The Omega0 hyperparameter. For estimation from data it can be missing.
`...` | Not currently used.
`model.cov, model.means` | model names used for cov and means. one of c("full","DE","DU"). "full" is the default.

### Details

Construct a prior specification. Generally not called by the user.

### Value

Return values depend on the specific method called. Not meant for user consumption.

### Author(s)

Greg Finak gfinak@fhcrc.org

### References

http://www.rglab.org

### Examples

    ## The function is currently defined as

[Package flowClust version 3.26.0 Index]