BASiCS_EffectiveSize {BASiCS} | R Documentation

## Calculate effective sample size for BASiCS_Chain parameters

### Description

A function to calculate effective sample size `BASiCS_Chain` objects.

### Usage

    BASiCS_EffectiveSize(object, Param, na.rm = TRUE)

    BASiCS_effectiveSize(...)

### Arguments

`object` | an object of class `BASiCS_Chain`.
`Param` | The parameter to use to calculate effective sample size. Possible values: `'mu'`, `'delta'`, `'phi'`, `'s'`, `'nu'`, `'theta'`, `'beta'`, `'sigma2'` and `'epsilon'`.
`na.rm` | Remove `NA` values before calculating effective sample size. Only relevant when `Param = "epsilon"` (genes with very low expression are excluding when infering the mean/over-dispersion trend. Default: `na.rm = TRUE`.
`...` | Unused.

### Value

A vector with effective sample sizes for all the elements of `Param`

### Examples

    data(ChainSC)
    BASiCS_EffectiveSize(ChainSC, Param = "mu")

[Package BASiCS version 1.99.1 Index]