bscui

Build SVG Custom User Interface in R, rmd, qmd and Shiny

https://github.com/patzaw/bscui

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.5%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Build SVG Custom User Interface in R, rmd, qmd and Shiny

Basic Info
Statistics
  • Stars: 19
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 2 years ago · Last pushed about 1 year ago
Metadata Files
Readme Changelog

README.Rmd

---
output:
  rmarkdown::github_document:
    number_sections: false
    toc: false
    toc_depth: 2
editor_options: 
  chunk_output_type: console
---

```{r setup, include = FALSE}
library(here)
library(knitr)
library(bscui)
library(base64enc)
library(htmltools)
library(dplyr)
library(xml2)
cranRef <- function(x){
  sprintf(
    "[%s](https://CRAN.R-project.org/package=%s): %s",
    x, x, packageDescription(x)$Title
  )
}
```

# Build SVG Custom User Interface 


[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/bscui)](https://cran.r-project.org/package=bscui)
[![CRAN Download Badge](https://cranlogs.r-pkg.org/badges/bscui)](https://cran.r-project.org/package=bscui)


`r packageDescription("bscui")$Description`

## Installation

### From CRAN

```{r, eval=FALSE}
install.packages("bscui")
```

### Dependencies

The following R packages available on CRAN are required:

```{r, echo=FALSE, results='asis'}
deps <- desc::desc_get_deps()
sdeps <- filter(deps, type %in% c("Depends", "Imports") & package!="R")
for(p in sdeps$package){
   cat(paste("-", cranRef(p)), sep="\n")
}
```

And those are suggested for building the vignettes and running some examples:

```{r, echo=FALSE, results='asis'}
wdeps <- filter(deps, type=="Suggests" & package!="R")
for(p in wdeps$package){
   cat(paste("-", cranRef(p)), sep="\n")
}
```

### From github

```{r, eval=FALSE}
devtools::install_github("patzaw/bscui")
```

## Documentation

- [Introduction to bscui](https://patzaw.github.io/bscui/articles/bscui.html);
this introduction vignette is also included in the package:

```{r, eval=FALSE}
vignette("bscui")
```

- [Preparing SVG: examples, tips and tricks](https://patzaw.github.io/bscui/articles/web_only/SVG-examples.html)

## Examples

### Building figures

This example relies on a figure of animal cells taken
from [SwissBioPics](https://www.swissbiopics.org/name/Animal_cell).

```{r, echo=FALSE, results='asis'}
ec <- readLines(system.file("examples", "main-example.R", package = "bscui"))
cat('```r', sep="\n")
cat(ec, sep="\n")
cat('```', sep="\n")
```

### Figures in 'shiny'

The following 'shiny' application relies on human female anatomical
diagram taken from the [EBI gene expression
group](https://github.com/ebi-gene-expression-group/anatomogram).

```{r, eval=FALSE}
shiny::runApp(system.file("examples", "shiny-anatomogram", package = "bscui"))
```

Owner

  • Name: Patrice Godard
  • Login: patzaw
  • Kind: user
  • Location: Belgique

GitHub Events

Total
  • Watch event: 6
Last Year
  • Watch event: 6

Packages

  • Total packages: 1
  • Total downloads:
    • cran 226 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 4
  • Total maintainers: 1
cran.r-project.org: bscui

Build SVG Custom User Interface

  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 226 Last month
Rankings
Dependent packages count: 28.5%
Dependent repos count: 36.5%
Average: 50.0%
Downloads: 85.1%
Maintainers (1)
Last synced: 10 months ago

Dependencies

DESCRIPTION cran
  • R >= 4.1 depends
  • htmlwidgets * imports
  • webshot2 * imports
  • dplyr * suggests
  • glue * suggests
  • here * suggests
  • knitr * suggests
  • reactable * suggests
  • reactable.extras * suggests
  • readr * suggests
  • rmarkdown * suggests
  • scales * suggests
  • shiny * suggests
  • stringr * suggests
  • xml2 * suggests
supp/bscui-js/package.json npm