data matrix. Note that the columns correspond to variables (“genes”)
and the rows to samples.
L
vector with class labels for the two groups.
verbose
print out some (more or less useful) information during computation.
f
smoother span used in lowess (default value: 0.2)
gene
the gene for which the Lai t-score is computed
tscore
a vector with t-scores
corr
a matrix containing correlations
plot
show scatter plot correlations versus t-scores with predicted t-score
Details
The correlation-predicted t-statistic for a gene is
the t-score predicted by local linear regression using all other
genes. For mathematical details see Lai (2008).
Value
lait.stat returns a vector containing correlation-predicted t-statistic for each variable/gene.
The corresponding lait.fun functions return a function that
computes the correlation-shared t-statistic when applied to a data matrix
(this is very useful for simulations).
The function lai.tscore allows to compute the correlation-predicted t-statistic
for a gene given a correlation matrix and a vector of t-statistics.