Git Product home page Git Product logo

cellrangerrkit's Introduction

10X Genomics Cell Ranger R kit

Description

R package that accompanies the 10X Genomics Cell Ranger pipeline. It supports manipulation and visualization of output from the pipeline as well as re-running of secondary analyses.

Development

Make sure you have R packages devtools and roxygen2 installed and loaded:

install.packages( c('devtools', 'roxygen2') )
library(devtools)
library(roxygen2)

To install the current version from master:

install_github( '10XDev/cellrangerRkit', user = 'github_user',
    auth_token = 'some_auth_token' )

The auth token can be generated using the default settings in https://github.com/settings/applications under 'Personal access tokens'. Make sure to save the token, otherwise you need to generate another one.

Workflow

Since you've already installed devtools, you should consider using it to help develop the package. Note that all 'path/to/working/copy' strings can be replaced by the empty string if you're inside the root of the package directory (which I strongly recommend). There is a developer mode you can enter by typing:

dev_mode()

and exit similarly. What this does is create a sandboxed development environment for your packages.

Throughout development, you probably will need to load updates regularly:

install('path/to/working/copy')

If you're trying to access a new function outside of the package (in userspace land) make sure to add the @export decorator and generate documentation for it using roxygen2:

document('path/to/working/copy')

Once you dig the changes and you think it's stable, drop out of developer mode and install it into your main package set.

Testing

We are using the testthat package for unit testing. All tests live in inst/tests/. The directory tests/ simply contains a stub to test all things that live in inst/tests/.

To run all tests, in Rstudio go to: Build.. Test Package

Using devtools you can call all tests by running:

test('path/to/working/copy')

Building for distribution

make rkit && R CMD INSTALL . && make vignette

Uninstalling

remove.packages('cellrangerRkit')

cellrangerrkit's People

Contributors

henrikbengtsson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cellrangerrkit's Issues

install problem

Hi,

How should I set this RKIT_VIGNETTE_PIPESTANCE_BASE_PATH to install on linux? Thanks!

image

Cellranger version 3

Do you plan on bumping your version for cellranger version 3 since functions such load_cellranger_matrix does not work with the latest versions output?

READ THIS FIRST: This is a non-official archive cellrangerRkit

Hi all. Just to clarify, I, @HenrikBengtsson, am not affiliated with 10x Genomics. Please note, this https://github.com/hb-gitified/cellrangerRkit repository:

  1. holds a git archive of the different versions of the cellrangerRkit R package (https://support.10xgenomics.com/single-cell-gene-expression/software/pipelines/latest/rkit)
  2. is not an offical the 10x Genomics repository (theirs are over at https://github.com/10XDev)
  3. is provided in case 10x Genomics stops making this package or one of its versions available
  4. to make it easier to browse the code and see what has changed between versions (=git tags)
  5. older versions are available under https://github.com/hb-gitified/cellrangerRkit/releases
  6. is not the place to ask for support for 10x Genomics software Having said that, I keep the issue tracker available in case someone needs a forum to discuss the package. I will not answer questions.

If you like to improve on or fix bugs, please fork this repository and redistribute the improved version yourself.

Possibly incorrect repo path in installation instruction (README)

Installation instruction says:

install_github( '10XDev/cellrangerRkit', user = 'github_user',
auth_token = 'some_auth_token' )

Should it be changed to install_github( 'hb-gitified/cellrangerRkit')?

cellrangerRkit does not seem to be available in 10XDev repo.
Am I missing smth?

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.