boxplot of split single feature score
sin_score_boxplot(data, features = NULL, ref.group, label, method = "t.test")
matrix, features in row and samples in column
vector, feature names to plot
character, reference group name
vector, group labels
character, statistical test to use,
details in ggpubr::stat_compare_means()
faceted ggplot object
data <- matrix(rnorm(100), 10, dimnames = list(1:10))
sin_score_boxplot(data, 1:2, ref.group = "A", label = rep(c("A", "B"), 5))
#> Warning: `add_rownames()` was deprecated in dplyr 1.0.0.
#> ℹ Please use `tibble::rownames_to_column()` instead.
#> ℹ The deprecated feature was likely used in the smartid package.
#> Please report the issue at
#> <https://github.com/DavisLaboratory/smartid/issues>.