FLLat.FDR(Y, Y.FLLat, n.thresh=50, fdr.control=0.05, pi0=1, n.perms=20)# S3 method for FDR
plot(x, xlab="Threshold", ylab="FDR", …)
Y
. That is, an object
of class FLLat
, as returned by FLLat
.FDR
, as returned by
FLLat.FDR
.FDR
with components:
thresh.vals
.fdr.control
.plot
method for FDR
objects.The FDR for a fitted FLLat model is estimated in the following
manner. Firstly, n.thresh
threshold values are chosen, equally
spaced between \(0\) and the largest absolute fitted value over all
locations \((l,s)\). Then, for each threshold value, the estimated
FDR is equal to $$FDR=\frac{\pi_0\times
V_0}{R}$$ where:
For more details, please see Nowak and others (2011) and the package vignette.
FLLat
## Load simulated aCGH data.
data(simaCGH)
## Run FLLat for J = 5, lam1 = 1 and lam2 = 9.
result <- FLLat(simaCGH,J=5,lam1=1,lam2=9)
## Estimate the FDRs.
result.fdr <- FLLat.FDR(simaCGH,result)
## Plotting the FDRs against the threshold values.
plot(result.fdr)
## The threshold value which controls the FDR at 0.05.
result.fdr$thresh.control
Run the code above in your browser using DataLab