You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The shiny app doesn't seem to work with R 4.1.x and bioc 3.14 (well, the current bioc 3.15 dev version installed on bioc 3.14). This looks like something changed in shiny.
Loadingrequiredpackage:shinyListeningonhttp://127.0.0.1:6985Warning:Navigationcontainersexpectacollectionof`bslib::nav()`/`shiny::tabPanel()`sand/or`bslib::nav_menu()`/`shiny::navbarMenu()`s.Considerusing`header`or`footer`ifyouwishtoplacecontent above (orbelow) everypanel's contents.Warning: Error in : Navigation containers expect a collection of `bslib::nav()`/`shiny::tabPanel()`s and/or `bslib::nav_menu()`/`shiny::navbarMenu()`s. Consider using `header` or `footer` if you wish to place content above (or below) every panel'scontents.84:stop83:FUN82:lapply81:buildTabset80:navbarPage_79:navs_bar74:bslib::page_navbar72:navbarPage69:ui [/Users/lcollado/Dropbox/Code/spatialLIBD/R/app_ui.R#25]
reprex
## Download and save a local cache of the data provided by 10x Genomicsbfc<-BiocFileCache::BiocFileCache()
lymph.url<-
paste0(
"https://cf.10xgenomics.com/samples/spatial-exp/",
"1.1.0/V1_Human_Lymph_Node/",
c(
"V1_Human_Lymph_Node_filtered_feature_bc_matrix.tar.gz",
"V1_Human_Lymph_Node_spatial.tar.gz",
"V1_Human_Lymph_Node_analysis.tar.gz"
)
)
lymph.data<- sapply(lymph.url, BiocFileCache::bfcrpath, x=bfc)
## Extract the files to a temporary location## (they'll be deleted once you close your R session)
sapply(lymph.data, utils::untar, exdir= tempdir())
## Download the Gencode v32 GTF file and cache itgtf_cache<-BiocFileCache::bfcrpath(
bfc,
paste0(
"ftp://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_human/",
"release_32/gencode.v32.annotation.gtf.gz"
)
)
## Show the GTF cache locationgtf_cache## Import the data as a SpatialExperiment objectspe_wrapper<- read10xVisiumWrapper(
samples= tempdir(),
sample_id="lymph",
type="sparse", data="filtered",
images= c("lowres", "highres"), load=TRUE,
reference_gtf=gtf_cache
)
## Run our shiny appif (interactive()) {
vars<- colnames(colData(spe_wrapper))
run_app(
spe_wrapper,
sce_layer=NULL,
modeling_results=NULL,
sig_genes=NULL,
title="spatialLIBD: human lymph node by 10x Genomics (made with wrapper)",
spe_discrete_vars= c(vars[grep("10x_", vars)], "ManualAnnotation"),
spe_continuous_vars= c("sum_umi", "sum_gene", "expr_chrM", "expr_chrM_ratio"),
default_cluster="10x_graphclust"
)
}
The shiny app doesn't seem to work with R 4.1.x and bioc 3.14 (well, the current bioc 3.15 dev version installed on bioc 3.14). This looks like something changed in
shiny
.reprex
R session info
The text was updated successfully, but these errors were encountered: