-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
degCovariates does not shade by r value #58
Comments
I think you see if you change the FDR cutoff then you see the color, it could be only color the significant variables and that depend on the FDR cutoff option. |
The default FDR cutoff in degCovariates is 0.1 and all of the non-NA FDR values shown here are significant by that cutoff. DegCovariates says it will highlight and shade significant results based on r value, but it is only highlighting and not shading. That is why I submitted this issue. |
I understand, I wanted just to check that. I see some weird warnings there, maybe is related to that, some update of some package that is messing with older code. I need to update to 4.3 and check if the test code runs properly or not. Is the test code generating colored areas? |
I think the problem is that is only colored when the variables are significant by the linear model that is used after testing individual correlations. We decided to put this to reduce the variables that correlate between them, but maybe in your case is not finding significant any variable in the linear model. If you can share the Robjects, I could try to see what is going on and maybe add some option to make that step optional. |
Thank you for looking into this. I will have to check about sending an Robject later as I am not working on this data at the moment, but I can confirm that the test code example in the degCovariates produces the same warnings, though it does shade 2 areas. I think I misunderstood that the linear model p value is separate from p and fdr values generated from the cor.test. Looking at the example data, it looks as though there are 3 correlations with significant fdr values, but only 2 are shaded/in $significants. All significant areas have thick grey strokes though, no black strokes. As a side note, the Description, Usage, and Details mention different significance cutoffs and rules for black vs grey strokes: in the Description it mentions an fdr of 0.05 is used; in the description it says it is a p value of 0.05. The default in Usage is an fdr of 0.1 (no option for p value). The description says black strokes appear if the correlation significance is fdr < 0.05, but the details says black strokes appear if the linear p < 0.05. When I get the chance I will take another look at my data and see if the difference is the linear model. Thank you again for taking a look. |
degCovariates produces a graph and outlines significant results, but does not actually shade graph based on r correlation value. This is despite R values being non-zero. I tried replacing the NA values with 0 to see if that was interfering with the plotting ability, but this did not fix the issue. Not sure if this warning message is related.
The text was updated successfully, but these errors were encountered: