col_ttest | R Documentation |
Title
col_ttest(data, g1, g2, adjust = TRUE, p = TRUE, method = "t.test")
data |
the data.frame colume has the two group need to test by t.test |
g1 |
the number range for group1 like "'1:3'" |
g2 |
the number range for group2 like "'4:6'" |
adjust |
TRUE/FALSE add/ or not add the qvalue by qvalue packsages. |
p |
TRUE/FALSE add/ or not add the pvalue by ttest. |
method |
the test method like t.test or wlicox.test |
the qvalue and pvalue
test = matrix(rnorm(200), 20, 10)
test[1:10, seq(1, 10, 2)] = test[1:10, seq(1, 10, 2)] + 3
test[11:20, seq(2, 10, 2)] = test[11:20, seq(2, 10, 2)] + 2
test[15:20, seq(2, 10, 2)] = test[15:20, seq(2, 10, 2)] + 4
colnames(test) = paste("Test", 1:10, sep = "")
rownames(test) = paste("Gene", 1:20, sep = "")
col_ttest(data = test,g1 = 1:5,g2 = 6:10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.