spkPot: Probability of being in the Top

Description Usage Arguments Value Author(s) Examples

View source: R/spkPot.R

Description

Compute the probability that a spike-in with a nominal fold change of 2 appears in the the top 0.5% (default) of log-ratios.

Usage

1
spkPot(object, spkSlopeOut, sig, SD, precisionQuantile)

Arguments

object

a SpikeInExpressionSet object

spkSlopeOut

the output from the spkSlope function

sig

the signal detect slopes from a call to spkSlope

SD

the standard deviation from spkAccSD

precisionQuantile

the desired quantile to compute the probability of being above

Value

A vector of probabilities for each ALE strata.

Author(s)

Matthew N. McCall

Examples

1
2
3
4
data(affy)
affySlope <- spkSlope(affy)
affyAccSD <- spkAccSD(affy, affySlope)
spkPot(affy, affySlope, affySlope$slopes, affyAccSD, .995)

spkTools documentation built on Nov. 8, 2020, 6:55 p.m.