tBayes: tBayes

Description Usage Arguments Examples

Description

Estimate the probability of a compound coming from the neutral control distribution assuming the compounds and neutral controls are t distributed with unknown mean, and variance. The compound means are assumed to come from t-distribution fit to all compounds in the screen.

Usage

1
tBayes(screen, alternative, ROPE)

Arguments

screen

A data frame or data table containing screening data with variables: Plate_ID, Row, Column, Compound_ID, Well_Type, Plate_Mask, Well_Mask, Value. For an explination of variables see read me.

alternative

Character string specifying the alternet hypothesis. Must be one of "two.sided", "greater", or "less".

runjags.method

Character string specifying the method by which jags is run, default is set to 'simple' to avoid conflict with snow library

Examples

1
2
3
4
Load screen
data(mdmx)
mdmx <- tBayes(mdmx, alternative='less')
head(mdmx)

BenjaminChittick/BenCScore documentation built on May 5, 2019, 2:41 p.m.