t_test.Mat_identical.vs.different | R Documentation |
Test with a Welch t-test between the group of similar tissues versus the group of different tissues. Take the diagonal and test it versus the lower triangle of the matrix.
t_test.Mat_identical.vs.different(Mat, yLab,
label.diag = "Same-tissue pairs",
label.low.tri = "Different tissues pairs", xLab = "Type",
pval = TRUE, showMean = TRUE, output = "test", publish = TRUE)
Mat |
correlation matrix between two studies tissue expression (column correlation) |
yLab |
character string. Title of the y-axis |
label.diag |
character string. Label for the pairs in the diagonal of the matrix. |
label.low.tri |
character string. Label for the pairs in the lower.triangle of the matrix. |
xLab |
character string. Title of the x-axis. Default: 'Type'. |
pval |
boolean. Default: TRUE. Whether to add the p-value on the plot. |
showMean |
boolean. Default: TRUE. Whether to add the mean of each group on the plot. |
output |
character string that allows to pick the output; 'identical' for the same pairs of tissues, 'different' for the different pairs of tissues, 'test' for the test, 'plot' for the plot and 'test_identical' for a list comprising the identical tissues and the test. |
publish |
boolean. Default: TRUE. Whether to apply theme_bw(). |
depends on 'output'; it can be a data.frame, a figure or the result of the test.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.