cytobank2GatingSet.default {CytoML}R Documentation

A wrapper that parse the gatingML and FCS files (or cytobankExperiment object) into GatingSet

Description

A wrapper that parse the gatingML and FCS files (or cytobankExperiment object) into GatingSet

Usage

## Default S3 method:
cytobank2GatingSet(x, FCS, ...)

cytobank2GatingSet(x, ...)

## S3 method for class 'cytobankExperiment'
cytobank2GatingSet(x, ...)

Arguments

x

the cytobankExperiment object or the full path of gatingML file

FCS

FCS files to be loaded

...

other arguments

Value

a GatingSet

Examples

## Not run: 
acsfile <- system.file("extdata/cytobank_experiment.acs", package = "CytoML")
ce <- cytobankExperiment(acsfile)
xmlfile <- ce$gatingML
fcsFiles <- list.files(ce$fcsdir, full.names = TRUE)
gs <<- cytobank2GatingSet(xmlfile, fcsFiles)
library(ggcyto)
autoplot(gs[[1]])

## End(Not run)

[Package CytoML version 1.10.0 Index]