summarizeRunOne: Derive point estimates for c, pi, phi, and Z for a particular...

View source: R/summarizeRun.R

summarizeRunOneR Documentation

Derive point estimates for c, pi, phi, and Z for a particular sample

Description

Posterior means are used as point estimates for c, π, φ, and Z. As super-enriched peptides are tossed out before MCMC sampling, super-enriched peptides return NA for the φ and Z point estimates. Indices corresponding to a particular peptide in the MCMC sampler are mapped back to the original peptide names.

Usage

summarizeRunOne(object, file, se.matrix, burn.in = 0, post.thin = 1)

Arguments

object

a PhIPData object

file

path to rds file

se.matrix

logical matrix indicating which peptides were identified as super-enriched peptides

burn.in

number of iterations to be burned

post.thin

thinning parameter

Value

list of point estimates for c, pi, phi and Z


athchen/beer documentation built on July 2, 2022, 10:35 p.m.