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)

mccallm/spkTools documentation built on May 7, 2019, 1:26 p.m.