Description Usage Arguments Value Author(s) See Also Examples
Given Q-residual, this function uses the parameters calculated in JAcksonParameters to convert a Q-residual into a confidence interval
1 | QtoJackson(Q,h0, x1, x2, x3)
|
Q |
Q-residual |
h0 |
h0 parameter |
x1 |
x1 parameter |
x2 |
x2 parameter |
x3 |
x3 parameter |
output:confidence interval of the given residual.
Erola Pairo <epairoatibec.pcb.ub.es>
kfold.PCA, Predict.PCA, JacksonParameters
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | require("MEET")
data(TranscriptionFactor)
data(iicc)
nPCs<-1
TFBS<-iicc$Transcriptionfactor
Prob<-iicc$background
missing<-iicc$missing
NumericalMatrix<-numericalDNA(Prob)
suma<-apply(TFBS,2,function(y){sum(y=="-")})
threshold<-floor(nrow(TFBS)*missing/100)
TFBS<-TFBS[, suma<=threshold]
ncolTFBS<-ncol(TFBS)
TFBSnum<-apply(TFBS,1,function(x){as.vector(t(NumericalMatrix[x,]))})
TFBSnum<-t(TFBSnum)
model<-pca(TFBSnum, nPcs=2, method="svd", center=TRUE)
JacksonPars<-JacksonParameters(nPCs,TFBSnum)
Qres<-3.45
confidence<-QtoJackson(Qres,h0=1,x1=1,x2=1,x3=1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.