FLLat(Y, J=min(15,floor(ncol(Y)/2)), B="pc", lam1, lam2, thresh=10^(-4),
maxiter=100, maxiter.B=1, maxiter.T=1)
"pc"
(the first J
principal components of Y
),
"rand"
(a random selection of J
columns of Y
), or
a user specified matrix of initial values, where rows correspond to
the probes and columns correspond to the features. The default is
"pc"
.FLLat
with components:
FLLat.BIC
for more details.plot
method and a predict
method for FLLat
objects.The model is fitted by minimizing a penalized version of the residual sum of squares (RSS): $$RSS + \sum_{j=1}^J PEN_j$$ where the penalty is given by: $$PEN_j = \lambda_1\sum_{l=1}^L\left|\beta_{lj}\right| + \lambda_2\sum_{l=2}^L\left|\beta_{lj} - \beta_{l-1,j}\right|.$$ Here \(\beta_{lj}\) denotes the \((l,j)\)th element of \(B\). We also constrain the \(L_2\) norm of each row of \(\Theta\) to be less than or equal to \(1\).
For more details, please see Nowak and others (2011) and the package vignette.
plot.FLLat
, predict.FLLat
,
FLLat.BIC
, FLLat.PVE
,
FLLat.FDR
## 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)
## Plot the estimated features.
plot(result)
## Plot a heatmap of the estimated weights.
plot(result,type="weights")
Run the code above in your browser using DataLab