Learn R Programming

spkTools (version 1.28.0)

spkPot: Probability of being in the Top

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

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.

Examples

Run this code
data(affy)
affySlope <- spkSlope(affy)
affyAccSD <- spkAccSD(affy, affySlope)
spkPot(affy, affySlope, affySlope$slopes, affyAccSD, .995)

Run the code above in your browser using DataLab