GithubHelp home page GithubHelp logo

louisfaure / pagoda2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kharchenkolab/pagoda2

0.0 1.0 0.0 11.19 MB

R package for analyzing and interactively exploring large single-cell RNA-seq datasets

License: GNU General Public License v3.0

R 21.91% C++ 34.97% CSS 0.03% HTML 0.32% JavaScript 42.15% Shell 0.01% Makefile 0.03% C 0.56% Dockerfile 0.02%

pagoda2's Introduction

Table of Content

Demo Web Application

10X PBMC Dataset

Analysis walkthroughs

Basic Walkthough -- October 2018

PCA-based basic walkthrough

Installation Instructions

On most linux-based installations, Pagoda should be available simply by running the following code in R console:

install.packages(c("devtools", "BiocManager"))
BiocManager::install(c("AnnotationDbi", "BiocGenerics", "GO.db", "pcaMethods"))
devtools::install_github("hms-dbmi/pagoda2")
library('pagoda2')

If you have Mac, or it doesn't work on your Linux, please see instructions below. Currently, there is no way to install Pagoda 2 on Windows.

Installing Mac Dependencies

You need R >=3.4.0 to install this package on a mac. For installation please refer to cran

You need the homebrew package manager
Run these commands in a terminal:

brew update
brew install curl openssl wget

To enable R to use the parallelized functions in the C++ code, you need another version of the clang++-Compiler for mac.
This is compatible with OS X >= 10.11

Follow these instructions to install clang4 with openmp support:

GUI-Installer:

Here is a more in depth explanation what is going on and a script to do what the GUI-Installer does by yourself. For Pagoda2 you only need the clang part, not the gfortran part. openmp in r on OS X

Install gfortran for Mac

curl -O http://r.research.att.com/libs/gfortran-4.8.2-darwin13.tar.bz2
sudo tar fvxz gfortran-4.8.2-darwin13.tar.bz2 -C /

Installing Linux dependencies

Installation for Debian-based distributions (e.g. Ubuntu):

sudo apt-get update
sudo apt-get -y install libcurl4-openssl-dev libssl-dev

Installation for Red-Hat-based distributions (e.g. CentOS or Fedora)

yum install openssl-devel libcurl-devel

Installing Pagoda2 as Docker Container

If you are having trouble setting up pagoda2 on your system, an alternative approach to get pagoda on a mac or windows system is through a docker container. The docker distribution is current as of October 2018 and also includes the Conos package. To start a docker container, first install docker on your platform and then start the pagoda container with the following command in the shell:

docker run -p 8787:8787 docker.io/barkasn/pagoda2

The first time you run the command it will download several images so make sure that you have fast internet access setup. You can then point your browser to http://localhost:8787/ to get an Rstudio environment with pagoda2 (and conos) installed (log in using credentials rstudio/pass). Explore the docker --mount option to allow access of the docker image to your local files.

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.