Coder Social home page Coder Social logo

hasihays / bayesspace Goto Github PK

View Code? Open in Web Editor NEW

This project forked from edward130603/bayesspace

0.0 0.0 0.0 560.78 MB

Bayesian model for clustering and enhancing the resolution of spatial gene expression experiments.

Home Page: http://edward130603.github.io/BayesSpace

License: Other

C++ 31.28% R 68.72%

bayesspace's Introduction

BayesSpace

Bioconductor build status

Overview

BayesSpace provides tools for clustering and enhancing the resolution of spatial gene expression experiments.

BayesSpace clusters a low-dimensional representation of the gene expression matrix, incorporating a spatial prior to encourage neighboring spots to cluster together. The method can enhance the resolution of the low-dimensional representation into "sub-spots", for which features such as gene expression or cell type composition can be imputed.

System requirements

Operating system

BayesSpace has been built and tested on the following operating systems:

  • Linux: Ubuntu 18.04.4 LTS (Bionic Beaver)
  • macOS: 10.14.6 (Mojave), 10.15.6 (Catalina)
  • Windows: 10, Server 2012 R2 Standard

Software dependencies

BayesSpace requires R 4.0+ and Bioconductor 3.12+. Specific package dependencies are defined in the package DESCRIPTION and are managed by the Bioconductor and devtools installers.

Installation

BayesSpace is available through Bioconductor.

# Install the Bioconductor package manager, if necessary
if (!requireNamespace("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("BayesSpace")

The development version can be installed via Bioconductor (see instructions on using the devel branch) or from github with devtools.

# Install devtools, if necessary
if (!requireNamespace("devtools", quietly = TRUE))
    install.packages("devtools")

devtools::install_github("edward130603/BayesSpace")

Installation, including compilation, should take no more than one minute.

Installing from source on macOS

Installing from source on macOS (such as when installing via devtools::install_github()) requires Fortran to compile the Rcpp code.

Download links for the appropriate macOS versions can be found here:

Additional details on installing the R compiler tools for Rcpp on macOS can be found in this blog post.

Note about homebrew: While gfortran is available via homebrew, we've encountered issues linking to its libraries after installation. We recommend installing directly from the GNU Fortran repo.

Demonstration

For an example of typical BayesSpace usage, please see our package vignette for a demonstration and overview of the functions included in BayesSpace.

Running the entire vignette takes approximately 5m30s on a Macbook Pro with a 2.0 GHz quad-core processor and 16 GB of RAM.

bayesspace's People

Contributors

msto avatar edward130603 avatar senbaikang avatar nturaga avatar lshep 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.