interep

Interaction Analysis of Repeated Measure Data


License
GPL-2.0

Documentation

interep

Interaction Analysis of Repeated Measure Data

Travis build status CRAN status Codecov test coverage

Extensive penalized variable selection methods have been developed in the past two decades for analyzing high dimensional omics data, such as gene expressions, single nucleotide polymorphisms (SNPs), copy number variations (CNVs) and others. However, lipidomics data have been rarely investigated by using high dimensional variable selection methods. This package incorporates our recently developed penalization procedures to conduct interaction analysis for high dimensional lipidomics data with repeated measurements. The core module of this package is developed in C++. The development of this software package and the associated statistical methods have been partially supported by an Innovative Research Award from Johnson Cancer Research Center, Kansas State University.

How to install

  • Released versions of interep are available on CRAN (link), and can be installed within R via
install.packages("interep")

Example

library(interep)
data("dat")
## Load the environment factors, lipid factors and the response
e=dat$e
g=dat$z
y=dat$y
## Initial value for the coefficient vector
beta0=dat$coef
## True nonzero coefficients
index=dat$index
b = interep(e, g, y,beta0,corre="e",pmethod="mixed",lam1=dat$lam1, lam2=dat$lam2,maxits=30)
## Cut off the noise
b[abs(b)<0.05]=0
## Compute TP and FP
pos = which(b != 0)
tp = length(intersect(index, pos))
fp = length(pos) - tp
list(tp=tp, fp=fp)

Methods

This package provides implementation for methods proposed in

  • Zhou, F., Ren,J., Li, G., Jiang, Y., Li, X., Wang, W. and Wu, C. (2019). Penalized Variable Selection for Lipid– Environment Interactions in a Longitudinal Lipidomics Study. Genes. 10(12), 1002