Q2.Total #123
Unanswered
amnahsiddiqa
asked this question in
Q&A
Q2.Total
#123
Replies: 1 comment
-
Hi @amnahsiddiqa, Please see my response at https://mixomics-users.discourse.group/t/q2-negative-for-first-component/603/2 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a question regarding a meta analysis (for a number of data sets separately) I am doing; for all datasets I am facing the same problem; an odd first LV value for Q2 total;
I am doing PLSR regression mode and want to select the number of components according to Q2 criteria (mentioned @https://www.bioconductor.org/packages/devel/bioc/vignettes/mixOmics/inst/doc/vignette.html#principle-of-pls) where the rule of thumbs is that a PLS component should be included in the model if its value is ≤0.0975.
I have read that negative values and bad prediction could be because of low number of samples and/or large number of variables.
In my case I have 171 samples and 17k genes (from a transcriptomics dataset) and a single response variable.
the value of Q2 total of my top PC/LV comes negative; I am stuck on how to deal with this; any help is appreciated.
Thanks
below is the code and top pcs q2 total ;
"
pls.GE<-pls(my_predictors,my_response, ncomp=20, mode= "regression",scale=TRUE)
perf.pls=perf(pls.GE, validation = "Mfold", folds=10, nrepeat=10)
perf.pls[["Q2.total"]]
"
1 comp -0.3664158
2 comp 0.3304083
3 comp 0.2942803
4 comp 0.2380420
5 comp 0.2939665
6 comp 0.2672010
7 comp 0.3311232
8 comp 0.2078379
.
Beta Was this translation helpful? Give feedback.
All reactions