## Not run: ------------------------------------
#
# dat <- read.table("GSE36703_37628_col.txt",header=FALSE,sep='\t')
# rownames(dat) <- 1:nrow(dat)
# set.seed(12345)
# ret <-emmixwire(dat,g=3,ncov=3,nvcov=1,n1=5,n2=6,n3=3,
# debug=1,itmax=1000,epsilon=1e-5)
#
# ###calculate the W_j
# wj <- scores.wire(ret,contrast=c(0.5,0.5,-1))
#
# ### the null distribution of W_j
# wj0 <- wj2.permuted(dat,ret,nB=19)
# ### the p-values of W_j
# pv <- pvalue.wire(wj,wj0)
#
## ---------------------------------------------
Run the code above in your browser using DataLab