cytobank_to_gatingset.default {CytoML}R Documentation

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

Description

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

Usage

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

cytobank2GatingSet(...)

cytobank_to_gatingset(x, ...)

## S3 method for class 'cytobank_experiment'
cytobank_to_gatingset(x, ...)

Arguments

x

the cytobank_experiment 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 <- open_cytobank_experiment(acsfile)
xmlfile <- ce$gatingML
fcsFiles <- list.files(ce$fcsdir, full.names = TRUE)
gs <<- cytobank_to_gatingset(xmlfile, fcsFiles)
library(ggcyto)
autoplot(gs[[1]])

## End(Not run)

[Package CytoML version 1.12.1 Index]