mirror of
https://github.com/johrpan/ubigen.git
synced 2025-10-26 19:57:24 +01:00
Add drug plots
This commit is contained in:
parent
cf8e9e79d5
commit
785b748ba4
8 changed files with 365 additions and 185 deletions
|
|
@ -55,5 +55,13 @@ fig <- plotly::plot_ly(data) |>
|
|||
|
||||
plotly::save_image(fig, image_path, width = 1200, height = 800)
|
||||
|
||||
# To not overwrite other data:
|
||||
load(here("R/sysdata.rda"))
|
||||
gsea_plot_ranking <- fig
|
||||
usethis::use_data(gsea_plot_ranking, internal = TRUE, overwrite = TRUE)
|
||||
|
||||
usethis::use_data(
|
||||
gsea_plot_ranking,
|
||||
fig_drug_scores, # From R/sysdata.rda
|
||||
internal = TRUE,
|
||||
overwrite = TRUE
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue