Giter Site home page Giter Site logo

cardelino's Introduction

cardelino: clone identification from single-cell data

Linux Build Status codecov.io

This R package contains a Bayesian method to infer clonal structure for a population of cells using single-cell RNA-seq data (and possibly other data modalities).

Installation

From R

The latest cardelino package can be conveniently installed using the devtools package thus:

devtools::install_github("PMBio/cardelino", build_vignettes = TRUE)

Cardelino in a container

For situations in which installing software is a challenge (for example, on institutional HPC clusters or on cloud computing platforms), we provide a pre-built Docker image on DockerHub. This image contains R version 3.5.0 with cardelino and other packages (e.g. tidyverse, basic Bioconductor and other single-cell RNA-seq packages) installed and ready to use with Docker or Singularity.

For example, to build a Singularity image that can be used on an HPC cluster (with Singularity installed) one simply pulls the image from DockerHub:

singularity build rsc.img docker://davismcc/r-singlecell-img

This builds a Singularity image called rsc.img in the current working directory. We can then run R from the container and use the installed version of cardelino:

singularity exec rsc.img R

Equivalent commands enable running R from the container with Docker.

Getting started

The best place to start are the vignettes. From inside an R session, load cardelino and then browse the vignettes:

library(cardelino)
browseVignettes("cardelino")

Vignettes for clone identification use cases are provided.

Accessing the vignettes from within your R session is recommended, but you can also view the clone ID vignette.

Notes for donor deconvolution

The denor demultiplex function, namely Vireo, was supported in this R package before, but now has been re-implemented in Python, which is more memory efficient and easier to run via a command line. We, therefore, highly recommend you switch to the Python version: https://vireoSNP.readthedocs.io

The vireo function is not supported from version >=0.5.0. If you want to use the R functions, please use the version ==0.4.2 or lower. You can also find it in a separate branch in this repository: with_vireo branch or use the donor_id.R file directly.

About the name

cardelino is almost an anagram of "clone ID R" and is almost the same as the Italian for "goldfinch", a common and attractive European bird. In the Western art canon, the goldfinch is considered a "saviour" bird and appears in notable paintings from the Italian renaissance and the Dutch Golden Age. Perhaps this package may prove a saviour for certain single-cell datasets.

Vireo(variational inference for reconstructing ensemebl origin) is a Latin word referring to a green migratory bird, perhaps the female golden oriole, possibly the European greenfinch

Acknowledgement: The cardelino image was produced by Darren Bellerby. It was obtained from Flickr and is reproduced here under a CC-BY-2.0 licence.

cardelino's People

Contributors

huangyh09 avatar davismcc avatar

Watchers

James Cloos 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.