produce_diffusion_report | R Documentation |
Produce diffusion report based remarkable nodes in the network
produce_diffusion_report(
res_report,
report_title,
report_out_filepath = NA,
overwrite = FALSE,
render = FALSE
)
res_report |
'report()' results |
report_title |
(character) name of the report |
report_out_filepath |
(character) filepath where to write the .Rmd report |
overwrite |
(logical, default = FALSE) if TRUE, overwrite out filepath |
render |
(logical, default = FALSE) if TRUE, render the html file |
report
data(liver_1.3_network)
data(liver_1.3_rwr_closest_dfr)
data(signature_maison)
signature_vids <- signature_maison$`acetaminophen_all_all`
res.diffusion <- get_route(liver_1.3_network, liver_1.3_rwr_closest_dfr, c(signature_vids), target_type = c("drug/compound", "pathway", "side_effect"))
res_report <- report(res.diffusion)
report_info_df <- produce_diffusion_report(res_report = res_report, report_title = "acetaminophen", report_out_filepath = "report_acetaminophen_example.Rmd",
render = TRUE, overwrite = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.