Git Product home page Git Product logo

Comments (2)

ctberthiaume avatar ctberthiaume commented on August 21, 2024

Short answer, if you want to skip installation headaches and compilation time and are comfortable with Docker, use our Docker image. docker pull ctberthiaume/popcycle:4.17.0. It's based on rocker/rstudio:4.2.1. I usually run it with Rscript command-line scripts using a command similar to this:

docker run -it --rm -v $(pwd):/data ctberthiaume/popcycle:4.17.0 bash

And then cd to /data where I have my scripts and data.

You could also use the Rstudio web IDE for R console/notebook access. See https://rocker-project.org/images/versioned/rstudio.html

If you want to make changes to the Docker image, for example by modifying popcycle or installing new dependencies, it's easy enough to make those changes and then docker commit a new version of the image. The original image build process is captured here https://github.com/seaflow-uw/popcycle/blob/master/docker/Dockerfile

Otherwise, we have used devtools to install the pacakge, as you have also done. Unfortunately there are dependencies, I think related to flowcore, which significantly slow down the install process. Here's our script we use to do the install. https://github.com/seaflow-uw/popcycle/blob/master/setup.R. I believe it would be essentially equivalent to what you've done with some extra steps to make sure devtools and biocmanager are installed.

We've also started experimenting with using renv for dependency environment isolation and consistency. I would say that renv itself is still a work in progress and may not provide the most user-friendly experience. You can see the basic process for installing with renv in https://github.com/seaflow-uw/popcycle/blob/master/renv-first-install.R
renv is in fact what we use to build the Docker image.

from popcycle.

sangwon-hyun avatar sangwon-hyun commented on August 21, 2024

I'm satisfied with the installation instructions as of now.

from popcycle.

Related Issues (20)

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.