Coder Social home page Coder Social logo

scdha-app's Introduction

scDHA-app

a web application that utilizes the scDHA package to analyze single-cell data
The app allows:

  • Ask users to select the input by either: - Uploading a single-cell RNA-seq matrix in the format of a tab-delimited text file (tsv) with the first row as gene names and the first column as cell IDs, OR - Selecting a built-in dataset
  • Once the input is selected, perform cell clustering using the scDHA package, and display the clustering results as: - A scatter plot of the cell landscape, colored by cell clusters with a legend. The 2D coordinates of the cells should be obtained from the scDHA package. - A table with two columns: cell ID and cell cluster
  • Allow users to export the plot as a PNG file, with customizable width and height.
  • Allow users to download the result table as a tab-delimited text file (tsv).
  • Allow users to download the compressed data (latent space) of the input as a tab-delimited text file (tsv). Note that this is NOT the 2D compressed data.
  • Allows multiple users to use the app at the same time (different users on different computers should be able to use the app at the same time without waiting for others)

Stack

Frontend

HTML (EJS), CSS (Boostrap), Javascripts (JQuery, Datatable)

Backend

NodeJS (Express)

Installed Packages:

multer: for file handling
path: get path
fs: file handling
r-script: run r scripts
csvtojson: convert csv file to json data
sharp: process images

Instructions:

Requires R installed If using Windows OS, make sure Path env is set

To install require packages

npm install

To start

node app.js

scdha-app's People

Contributors

nluu1 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.