Description Usage Arguments Examples
View source: R/ReferenceScore_Plot.R
Plot histogram of median SD statistics from a reference selection result object
1 2 3 4 5 6 | dacomp.plot_reference_scores(
ref_select,
label = "Histogram of medianSD statistic, across taxa",
quantiles_to_plot = c(0.5, 0.7, 0.9),
breaks_param = 30
)
|
ref_select |
Computation result of |
label |
Histogram label. |
quantiles_to_plot |
Percentiles marked by vertical lines. Default value is |
breaks_param |
Passed as argument with the same name to the |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | ## Not run:
library(dacomp)
set.seed(1)
data = dacomp.generate_example_dataset.two_sample(m1 = 100,
n_X = 50,
n_Y = 50,
signal_strength_as_change_in_microbial_load = 0.1)
#select references: (may take a minute)
result.selected.references = dacomp.select_references(X = data$counts,
median_SD_threshold = 0.6, #APPLICATION SPECIFIC
verbose = T)
length(result.selected.references$selected_references)
#plot the reference selection scores (can also be used to better set the median SD threshold)
dacomp.plot_reference_scores(result.selected.references)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.