Estimates the false discovery rate (FDR) over a range of threshold values for a fitted Fused Lasso Latent Feature (FLLat) model. Also plots the FDRs against the threshold values.
1 2 3 4 
Y 
A matrix of data from an aCGH experiment (usually in the form of log intensity ratios) or some other type of copy number data. Rows correspond to the probes and columns correspond to the samples. 
Y.FLLat 
A FLLat model fitted to 
n.thresh 
The number of threshold values at which to estimate the FDR. The default is 50. 
fdr.control 
A value at which to control the FDR. The function will return the smallest threshold value which controls the FDR at the specified value. The default is 0.05. 
pi0 
The proportion of true null hypotheses. For probe location l in sample s, the null hypothesis H_0(l,s) states that there is no copy number variation at that location. The default is 1. 
n.perms 
The number of permutations of the aCGH data used in estimating the FDRs. The default is 20. 
x 
An object of class 
xlab 
The title for the xaxis of the FDR plot. 
ylab 
The title for the yaxis of the FDR plot. 
... 
Further graphical parameters. 
Identifying regions of copy number variation (CNV) in aCGH data can be viewed in a multipletesting framework. For each probe location l within sample s, we are essentially testing the hypothesis H_0(l,s) that there is no CNV at that location. The decision to reject each hypothesis can be based on the fitted values \hat{Y}=\hat{B}\hat{Θ} produced by the FLLat model. Specifically, for a given threshold value T, we can declare location (l,s) as exhibiting CNV if \hat{y}_{ls}>=T. The FDR is then defined to be the expected proportion of declared CNVs which are not true CNVs.
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=(pi_0*V_0)/R
where:
The quantity R is the number of declared CNVs calculated from the fitted FLLat model, as described above.
The quantity V_0 is the number of declared CNVs calculated from refitting the FLLat model to permuted versions of the data Y. In each permuted data set, the probe locations within each sample are permuted to approximate the null distribution of the data.
The quantity π_0 is the proportion of true null hypotheses. The default value of 1 will result in conservative estimates of the FDR. If warranted, smaller values of π_0 can be specified.
For more details, please see Nowak and others (2011) and the package vignette.
An object of class FDR
with components:
thresh.vals 
The threshold values for which each FDR was estimated. 
FDRs 
The estimated FDR for each value of 
thresh.control 
The smallest threshold value which controls the
estimated FDR at 
There is a plot
method for FDR
objects.
Due to the randomness of the permutations, for reproducibility of
results please set the random seed using set.seed
before running FLLat.FDR
.
Gen Nowak gen.nowak@gmail.com, Trevor Hastie, Jonathan R. Pollack, Robert Tibshirani and Nicholas Johnson.
G. Nowak, T. Hastie, J. R. Pollack and R. Tibshirani. A Fused Lasso Latent Feature Model for Analyzing MultiSample aCGH Data. Biostatistics, 2011, doi: 10.1093/biostatistics/kxr012
1 2 3 4 5 6 7 8 9 10 11 12 13 14  ## 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

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.