Closed nilseling closed 1 year ago
Hi Nils,
Great pickup!
sig <- test$p.value[,2] < cutoff
sigLab <- paste0("p-value < ",cutoff)
if(fdr){
sig <- test$p.value[,2] < cutoff
sigLab <- paste0("fdr < ",cutoff)
}
I've pushed the addition of p.adjust() to github. I'll run Biocheck() etc and push to Bioconductor tomorrow morning. Hopefully it didn't break something.
Let me know if I've screwed thing up.
PS, My students have been generalising these plots for survival data and a few other applications. If needed I can try to push them your way, they may have implemented them in their Statial package, but haven't adapted here.
Sweet, thanks! I'll check it out again in a couple of days and close this issue once it works.
I think having a few more of these plots would be great. The lab is using spicyR
now quite regularly and could use a few more pointers.
So this has been fixed but it seems that topPairs
doesn't select the right rows when specifying cutoff
:
spicyTest <- spicy(
diabetesData_SCE,
condition = "stage",
subject = "case"
)
topPairs(spicyTest, cutoff = 0.1, adj = "fdr")
returns 0 rows but it should be 2.
Hi @ellispatrick
thanks for the great tool! I'm now at the visualization part and would like to set a cutoff on the adjusted rather than the raw p value. My expectation is that
and
would give different results, which don't seem to be the case. Is there anything I'm missing here?