Description Usage Arguments Value Note See Also Examples
View source: R/DatasetComparison.R
Plot feature frequency statistics per dataset as a violin graph (frequency probability densities) and descriptive statistics: ranges (min/max values shown in vertical line ends), quartiles (lower and upper shown in bottom and top edges of box), medians (horizontal line in box), means (black dot), and outliers (pink dot) per dataset.
1 2 3 | plotDsFreqDistributionViolin(df_melted, condition = "Positive",
ds_palette = dataset.colors, label_x = "Datasets",
label_y = "Feature frequency probability densities, ranges, quartiles, means, outliers")
|
df_melted |
Data frame melted as Feature_Name | variable (DSi) | value (feature frequency for DSi) |
condition |
Datasets' class (default: |
ds_palette |
Dataset colors (default: |
label_x |
X axis label (default: |
label_y |
Y axis label (default: |
None
Development notes:
http://www.sthda.com/english/rpkgs/ggpubr/
For pairwise comparison add
my_comparisons <- list(c('DS0', 'DSA'), c('DS0', 'DS1'),
c('DS0', 'DS2'))
Add
ggpubr::stat_compare_means(comparisons=my_comparisons, label = 'p.signif')+
1 2 3 | data(dsfeatfreqpositive)
df_melted <- meltDataFrame(dsfeatfreqpositive)
plotDsFreqDistributionViolin(df_melted)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.