The goal of HIPCCyto is to standardize and pre-process flow cytrometry data of HIPC studies from ImmPort.
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.
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.
library(HIPCCyto)
file_dir <- fetch_files(study = "SDY820", output_dir = "~/")
gsl <- process_study(study = "SDY820", input_dir = file_dir)
process_study
function standradizes and pre-processes FCS files into gating sets.
fcs_header_marker
table.cofactor = 150
(Weber & Robinson, 2016).
save_gating_sets(gsl = gsl, output_dir = file_dir)