perform_t_tests_all_classes_one_vs_rest | R Documentation |
For each row of a matrix, this function performs T-tests comparing the values of that row for samples in one class against the values in that row for all other samples. Such comparisons are done for each reference class in turn.
perform_t_tests_all_classes_one_vs_rest(data_matrix, class_vector)
data_matrix |
Matrix containing the data for all samples. Columns correspond to different samples. |
class_vector |
A vector of numbers or strings representing the classes
associated with each column in |
A list containing:
p.values
A matrix containing the p-values for each comparison. Each column corresponds to the comparison between a class and all others.
diff.means
A matrix containing the difference between group means for each comparison. Each column corresponds to the comparison between a class and all others.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.