getPPD: getPPD

Description Usage Arguments Details Value

View source: R/getPPD.R

Description

This function is to calculate posterior predictive distribution (delta interval) of each of the proteins for each patient

Usage

1
getPPD(pd, delta)

Arguments

pd

the pdlist output from getBMS

delta

a cutoff for patient-specific activation status for a protein

Details

To determine the activation status of a protein, we compute the posterior probabilities of the protein to lie in the delta-interval around zero (neutral), to be greater than delta, (activated) or less than -delta (suppressed).

Value

results

a matrix includes all the patient-specific results, samplename, fitted value, sd, positive prob. (activated), negative prob. (suppressed), neutral prob., and activation status

pd

an object from pred.density


MinJinHa/PRECISE documentation built on May 4, 2019, 1:07 p.m.