qBBT {CSSP}R Documentation

Compute the quantile estimate for the bin-level poisson parameters.

Description

Compute the quantile estimate for the bin-level poisson parameters.

Usage

qBBT(fit, prob, depth = fit@lambday, lower = FALSE)

## S4 method for signature 'CSSPFit'
qBBT(fit, prob, depth = fit@lambday, lower = FALSE)

Arguments

fit

A CSSPFit-class object for the CSSP model.

prob

A numeric value for the percentile level of bin-level poisson parameters.

depth

A numeric value for the sequencing depth at which the quantile is evaluated.

lower

A logical value. If TRUE, the lower quantile is computed. If FALSE (Default), the upper quantile is computed.

Value

A numeric value for the percentile of bin-level poisson parameters.

Author(s)

Chandler Zuo zuo@stat.wisc.edu

Examples

data( sampleFit )
qBBT( sampleFit, prob = 0.99, depth = sampleFit@lambday*0.1 )

[Package CSSP version 1.28.0 Index]