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.
`model.cov, model.means` | model names used for cov and means. one of c("full","DE","DU"). "full" is the default.
`...` | Not currently used.

### 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

    ##---- Should be DIRECTLY executable !! ----
    ##-- ==>  Define data, use random,
    ##--	or do  help(data=index)  for the standard data sets.

    ## The function is currently defined as

[Package flowClust version 3.18.0 Index]