Git Product home page Git Product logo

bioshinymodules's Introduction

KIDS23-Team13: Reusable R Shiny modules for common plots and data types

What is a shiny module

Shiny modules is an autonomous shiny app that help to contanerize the code. Therefore they need:

  • a ui to generate the layout of the interface
  • a server to make all the computation
  • a demo to test if everything works

It consumes a reactive variable (data)

Why shiny modules

The magic of modules comes because these functions are constructed in a special way that creates a “namespace”. So far, when writing an app, the names (ids) of the controls are global: all parts of your server function can see all parts of your UI. Modules give you the ability to create controls that can only be seen from within the module. This is called a namespace because it creates “spaces” of “names” that are isolated from the rest of the app.

Shiny modules have two big advantages. Firstly, namespacing makes it easier to understand how your app works because you can write, analyse, and test individual components in isolation. Secondly, because modules are functions they help you reuse code; anything you can do with a function, you can do with a module.

For more informations, follow this link

Aim of this package

This package provide different modules that you can use as they are or that you can easily reusable through your apps. The aim is to provide simple yet effective shiny sub-unit to factorise your code and therefore improve the reading quality anf reusability.

The following modules are available:

  • Data Management
    • dataImport: import one dataframe from csv, xlsx, xls or rda
    • selectVar: select a column based on a dataframe and filtering
  • Export
    • exportPlot: export given plot in different file format
  • Plots
    • plotHist: create a histogram from a numeric variable

Organisation

For information about the organisation of this project please find the organisation.md file.

Contribution

Contribution guidelines can be found in the CONTRIBUTING.md file.

Project board

A project board is used to follow the works in progress.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.