The interactive plots are for
exploring the data. Hover over a peptide to see its sequence, uptake,
difference and p-value. Plots built together are linked: a peptide
selected in one is highlighted in all of them. For figures in a paper,
use the static plots (plot_fissure_vent(),
plots_vol_tp()).
The plots need the plotly, crosstalk and DT packages. They are optional and are not installed with HDXBoxeR.
| Function | Shows |
|---|---|
interactive_volcano() |
volcano plot |
interactive_fissure_vent() |
fissure vent plot (vignette("fissure_vent")) |
interactive_woods() |
Woods plot |
significant_peptides_table() |
table of all peptides |
interactive_fissure_explorer() |
all four together, linked |
The significance test is the same as in the rest of the package.
library(HDXBoxeR)
file_nm <- system.file("extdata", "All_results_table.csv", package = "HDXBoxeR")
a <- output_tp(file_nm)One plot:
Give several alpha and pvalue values to
switch between them with a dropdown (top right):
interactive_fissure_vent(a, state1 = "Unbound", state2 = "bound", times = "1800.00s",
alpha = c(0.01, 0.05), pvalue = c(0.01, 0.05))alpha and pvalue are paired: the first with
the first, the second with the second.
All plots together. Select rows in the table, or hover over a peptide, to highlight it everywhere:
Save one plot with htmlwidgets::saveWidget(). The
explorer is a layout of several plots, so save it with
htmltools::save_html():
explorer <- interactive_fissure_explorer(a, state1 = "Unbound", state2 = "bound", times = "1800.00s")
htmltools::save_html(explorer, "fissure_explorer.html")The saved file opens in any browser, without R.
p_adjust = "BH" corrects the p-values for multiple
testing.| Interactive | Static version | Explained in |
|---|---|---|
interactive_volcano() |
plots_vol_tp() |
vignette("HDXBoxeR") |
interactive_fissure_vent() |
plot_fissure_vent() |
vignette("fissure_vent") |
interactive_woods() |
woods_CI_plot() |
vignette("HDXBoxeR") |
significant_peptides_table() |
hdx_results_table(),
diff_peptides_prep() |
vignette("HDXBoxeR") |
To show results on a structure, see
vignette("hdx_structure").