t.test function
UrszulaCzerwinska opened this issue · comments
implement t.test on A matrix selected samples
Experimental implementation runs the distribution comparison tests i.e. t-test, kruskal-wallis any other classic test + edgeR::exactTest
to compute p-value between given threshold of distribution given by A matrix of ICA for all genes
so far the t-test results for TCGA BRCA looks like this:
comment : I don't find it very interesting, maybe we should consider log or cumulative distribution
After meeting with AZ:
cut the plot for p-val < 0.1
Perform it on log for t.test - no problem
Perform it for all ICs and select the ones with lower values as in the first plot here -> there will be confounding factors
For 2 ICs of Metabric the function takes 19 min, which means that for the whole metabric (24000 genes) it will take more than 15h
do.call
slowers down the function a lot. I found better one match.fun
that can be applied for the same purpose.
And I use t.test as a special case (then it is faster).
For metabric it should take 28 min