Giter VIP home page Giter VIP logo

shiny's Introduction

CADAA

Description of CADAA

The CADAA (Computer Aided Detection Agonist Antagonist) is an R-Shiny application designed to predict an unknown substance's agonist/antagonist state concerning GPCRs using graph theory and similarity network. In this approach, at first, the SDF file related to an unknown substance is submitted as the input file and compared with the knowledge-based fingerprints of 400 drugs affecting GPCRs. This knowledge-based database was made by random walk on a similarity network of cognate ligands acting on different GPCRs (starting with each compound as a seed node). A resulting probability vector could indicate how this unknown compound might affect each receptor.

Install Dependencies

Install CRAN dependencies

cran_pkgs <- c("igraph", "shiny","shinyjs", "shinyBS", "shinydashboard", "ggplot2", "dnet","ChemmineR","digest")

cran_pkgs.inst <- cran_pkgs[!(cran_pkgs %in% rownames(installed.packages()))]

if(length(cran_pkgs.inst)>0){ 
  print(paste0("Missing ", length(cran_pkgs.inst), " CRAN Packages:"))
  for(pkg in cran_pkgs.inst){
    print(paste0("Installing Package:'", pkg, "'..."));  
    install.packages(pkg, repo="http://cran.rstudio.org", dependencies=TRUE);print("Installed!!!") 
  }
}

Install Bioconductor dependencies for R versions > 4

if (!requireNamespace("BiocManager", quietly = TRUE))
  install.packages("BiocManager")
BiocManager::install(version = "3.12")
bioc_pkgs <- c( "supraHex","hexbin")
bioc_pkgs.inst <- bioc_pkgs[!(bioc_pkgs %in% rownames(installed.packages()))];
if(length(bioc_pkgs.inst)>0){
  print(paste0("Missing ", length(bioc_pkgs.inst), " Bioconductor Packages:"));  
  for(pkg in bioc_pkgs.inst){
    print(paste0("Installing Package:'", pkg, "'..."));  
    BiocManager::install(pkg)
    print("Installed!!!")
  }
}

Launch from GitHub

runGitHub("shiny", "hadi-masjedy", subdir="shiny")
## Using the archived file
runUrl("https://github.com/hadi-masjedy/shiny/archive/refs/heads/master.tar.gz", subdir="shiny")
runUrl("https://github.com/hadi-masjedy/shiny/archive/refs/heads/master.zip", subdir="shiny")

Launch locally

git clone https://github.com/hadi-masjedy/shiny

Launch from R

## Run by using runApp()
setwd("~/shiny")
shiny::runApp(appDir = getwd(), port = getOption("shiny.port"),
              launch.browser = getOption("shiny.launch.browser", interactive()),
              host = getOption("shiny.host", "127.0.0.1"), workerId = "",
              quiet = FALSE, display.mode = c("auto", "normal", "showcase"), 
              test.mode = getOption("shiny.testmode", FALSE))

CADAA Usage

Algorithm

This is primary tab of application and used for exacute the algorithm and its settings.

About

The summary about web application and description of it.

shiny's People

Contributors

hadi-masjedy avatar amir1715 avatar farzanehkargozar avatar

Watchers

 avatar

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.