cri-iatlas / iatlas-notebooks Goto Github PK
View Code? Open in Web Editor NEWCollection of R notebooks to enable local iAtlas plotting and functionality.
Collection of R notebooks to enable local iAtlas plotting and functionality.
iatlas.api.client included in CRAN library loading but not found there .
Error message
Loading required package: iatlas.api.client
Warning message in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
“there is no package called ‘iatlas.api.client’”
Warning message:
“package ‘iatlas.api.client’ is not available for this version of R
Replacing current block
# We have a few libraries to install.
try({
packages = c("magrittr", "wrapr", "dplyr", "tidyr", "plotly", "caret", "glmnet", "survminer",
"dplyr", "arrow", "tidyr", "ggplot2", "pROC", "pheatmap", "knitr", "ggfortify", "iatlas.api.client")
sapply(packages, function(x) {
if (!require(x,character.only = TRUE))
install.packages(x)
suppressPackageStartupMessages(library(x,character.only = TRUE))
})
# and our iatlas package from github
if (!require(iatlas.modules)) {
devtools::install_github("CRI-iAtlas/iatlas.modules")
suppressPackageStartupMessages(library(iatlas.modules))
}},
silent=TRUE
)
with
# We have a few libraries to install.
try({
# CRAN packages
packages = c("magrittr", "wrapr", "dplyr", "tidyr", "plotly", "caret", "glmnet", "survminer",
"dplyr", "arrow", "tidyr", "ggplot2", "pROC", "pheatmap", "knitr", "ggfortify")
sapply(packages, function(x) {
if (!require(x,character.only = TRUE))
install.packages(x)
suppressPackageStartupMessages(library(x,character.only = TRUE))
})
# and our iatlas.modules package from github
if (!require(iatlas.modules)) {
devtools::install_github("CRI-iAtlas/iatlas.modules")
suppressPackageStartupMessages(library(iatlas.modules))
}
# and our iatlas.api.client package from github
if (!require(iatlas.api.client)) {
devtools::install_github("CRI-iAtlas/iatlas.api.client")
suppressPackageStartupMessages(library(iatlas.modules))
}},
silent=TRUE
)
The same seems to be true of other ici_models_*.ipynb
In cell_content_barplots.Rmd
, section Cell content plots, there is a call to notebook_barplot with show_error_bars = NA
(currenly line 128) gives error
Error in if (show_error_bars == TRUE) { :
missing value where TRUE/FALSE needed
Executing
notebook_barplot(
df,
sort_by_var_choice = "Group",
reorder_func_choice = "None",
show_error_bars = TRUE,
ylab = 'Fraction Mean',
xlab = 'Fraction Type by Group',
title = 'Tissue type fractions by group'
)
gives error message
Error in embed_notebook(iatlas.modules::plotly_bar(plot_data = barplot_df, :
could not find function "embed_notebook"
embed_notebook
called within definition of notebook_barplot
in iatlas-notebooks/functions/notebook_functions.R
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.