Skip to content

An SVG clickable body that can be colored using data and returns the clicked on body part

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

MayaGans/shinyBody

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shinyBody

A custom Shiny input widget built with HTML and CSS that lets you select a body part and will return that body part's name.You can also color limbs based on data by specifying high and low color values:

Install using GitHub

remotes::install_github("MayaGans/shinyBody")

Use Case

library(shiny)

ui <- function() {

    fluidPage(
            bodyInput("human", data = c(rnorm(13, 100))),
            verbatimTextOutput("debug")
    )
}

server <- function(input, output) {
    output$debug <- renderPrint(input$human)
}

shinyApp(ui = ui, server = server)

About

An SVG clickable body that can be colored using data and returns the clicked on body part

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published