Giter Club home page Giter Club logo

hipccyto's Introduction

HIPCCyto

R build status Docker Cloud Build Status

The goal of HIPCCyto is to standardize and pre-process flow cytrometry data of HIPC studies from ImmPort.

Local installation

You can install the development version of HIPCCyto from GitHub with:

install.packages("remotes")
remotes::install_github("RGLab/HIPCCyto")

You also need to register at ImmPort and install the Aspera CLI. Please follow the instructions here.

Docker

There are many dependencies in HIPCCyto, so it takes a long time to install them all. Instead, you can use the Docker image of HIPCCyto.

docker pull rglab/hipccyto:latest
docker run \
    -it \
    --user rstudio \
    --volume <yourLocalDirectory>:/home/rstudio \
    --env ImmPortUsername=<yourImmPortUsername> \
    --env ImmPortPassword=<yourImmPortPassword> \
    rglab/hipccyto:latest \
    R

Replace <yourLocalDirectory> with the local directory path where you'd like to store the gating sets and <yourImmPortUsername> and <yourImmPortPassword> with your Immport credential. For more information on using docker containers, please read this documentation by Bioconductor.

Usage

Retrieve FCS files from ImmPort

library(HIPCCyto)
file_dir <- fetch_files(study = "SDY820", output_dir = "~/")

Process study

gsl <- process_study(study = "SDY820", input_dir = file_dir)

process_study function standradizes and pre-processes FCS files into gating sets.

  1. Standardize marker names using ImmPort's fcs_header_marker table.
  2. Merge metadata and batch information if available.
  3. Compensate using the embeded spillover matrix in FCS files.
  4. Transform the fluorescence channels using the inverse hyperbolic sine transformation with cofactor = 150 (Weber & Robinson, 2016).
  5. Pre-gate up to "Lymphocytes" using various automatic gating methods.

Save gating sets

save_gating_sets(gsl = gsl, output_dir = file_dir)

hipccyto's People

Contributors

jacobpwagner avatar juyeongkim avatar

Stargazers

 avatar

Watchers

 avatar  avatar  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.