View source: R/RiboCrypt_app.R
RiboCrypt_app | R Documentation |
Create RiboCrypt app
RiboCrypt_app(
validate.experiments = TRUE,
options = list(launch.browser = ifelse(interactive(), TRUE, FALSE)),
all_exp = list.experiments(validate = validate.experiments),
browser_options = c(),
init_tab_focus = "browser",
metadata = NULL,
all_exp_meta = all_exp[grep("all_samples-", name), ]
)
validate.experiments |
logical, default TRUE, set to FALSE to allow starting the app with malformed experiments, be careful will crash if you try to load that experiment! |
options |
list of arguments, default
|
all_exp |
a data.table, default:
|
browser_options |
named character vector of browser specific arguments: |
init_tab_focus |
character, default "browser". Which tab to open on init. |
metadata |
a path to csv or a data.table of metadata columns, must contain a "Run" column to merge IDs to ORFik experiments. It is used in the metabrowser tab for grouping of samples. |
all_exp_meta |
a data.table, default:
|
RiboCrypt shiny app
## Default run
# RiboCrypt_app()
## Plot on start
# RiboCrypt_app(browser_options = c(plot_on_start = "TRUE"))
## Init with an experiment and gene (you must of course have the experiment)
#RiboCrypt_app(validate.experiments = FALSE,
# browser_options = c(plot_on_start = "TRUE",
# default_experiment = "all_merged-Homo_sapiens_2024_8",
# default_gene = "ATF4-ENSG00000128272"))
#RiboCrypt_app(validate.experiments = FALSE, all_exp = all_exp,
#browser_options = c(plot_on_start = "TRUE",
# default_experiment = "human_all_merged_l50",
# default_gene = "RPL12-ENSG00000197958",
# default_isoform = "ENST00000361436",
# default_view_mode = "genomic"))
#RiboCrypt_app(validate.experiments = FALSE,
# browser_options = c(plot_on_start = "TRUE",
# default_experiment = "all_merged-Saccharomyces_cerevisiae",
# default_gene = "EFM5-YGR001",
# default_view_mode = "genomic"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.