Posterior: Retrieve Posterior Measures from a COMPASS fit

View source: R/Posterior.R

PosteriorR Documentation

Retrieve Posterior Measures from a COMPASS fit

Description

These functions can be used to retrieve different posterior measures from a COMPASS fit object.

Usage

Posterior(x)

PosteriorDiff(x)

PosteriorLogDiff(x)

PosteriorPs(x)

PosteriorPu(x)

Arguments

x

An object of class COMPASSResult.

Details

The posterior items retrieved are described as follows::

PosteriorPs:

The posterior estimate of the proportion of cells in the stimulated sample.

PosteriorPu:

The posterior estimate of the proportio of cells in the unstimulated sample.

PosteriorDiff:

The difference in posterior proportions, as described above.

PosteriorLogDiff:

The difference in the log posterior proportions, as described above.

Examples

Posterior(CR)
PosteriorPs(CR)
PosteriorPu(CR)
PosteriorDiff(CR)
PosteriorLogDiff(CR)

RGLab/COMPASS documentation built on Feb. 11, 2025, 4:40 p.m.