View source: R/batch_kruskal.R
batch_kruskal | R Documentation |
This function is used to efficiently perform the Kruskal-Wallis test on multiple continuous feature variables across different groups, providing statistical information such as p-values, adjusted p-values, and star ratings for significance.
batch_kruskal(data, group, feature = NULL, feature_manipulation = FALSE)
data |
A data frame containing the dataset. |
group |
A character specifying the name of the grouping variable. |
feature |
A character vector specifying the names of the feature variables. If not specified, all continuous features will be estimated. |
feature_manipulation |
A logical value indicating whether feature manipulation should be performed. Default value is FALSE. |
# Loading TCGA-STAD micro environment signature score data
data("sig_stad", package = "IOBR")
# Finding micro environmental scores associated with TCGA molecular subtype
batch_kruskal(data = sig_stad, group = "Subtype", feature = colnames(sig_stad)[69:ncol(sig_stad)])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.