Learn R Programming

RVtests (version 1.0)

PLS: Partial Least Squares Regression for RV tests

Description

Use PLS components for testing rare variants association with disease traits.

Usage

PLS(x, y, scale = FALSE, ncomp, varpercent, npermutation = 100, npermutation.max, min.nonsignificant.counts)

Arguments

x
Genotype matrix
y
Phenotype vector
scale
If TRUE, scale x and y.
ncomp
Number of components, which could be a vector containing a set of numbers.
varpercent
Explained variance percentage
npermutation
Number of permutation, if less than 1, the permutation will not be run.
npermutation.max
Maximum permutation, if missing, equal to npermutation.
min.nonsignificant.counts
Minimum nonsignificant counts, if missing, equal to 10.

Value

  • scoreCorrelation between y and y_est
  • nonsignificant.countsCounts of permuted data that have a higher score than unpermuted data.
  • pvalue.empiricalEmpirical pvalue via permutation
  • pvalue.nominalTheoretical pvalue, not available now.
  • total.permutationTotal permutation
  • ncomp.varpNumber of components required for specified variance percentage

References

C. Xu, M. Ladouceur, Z. Dastani, J. B. Richards, A. Ciampi, C. M.T. Greenwood (2012), Multiple regression methods show great potential for rare variant association tests, PLoSONE.

See Also

PCR, SPLS