\name{GatingSet-class} \Rdversion{1.1} \docType{class} \alias{GatingSet-class} \alias{[,GatingSet,ANY-method} %\alias{[<-,GatingSet,ANY,ANY,GatingSet-method} \alias{[[,GatingSet,ANY-method} %\alias{[[<-,GatingSet,ANY,ANY,GatingHierarchy-method} %\alias{flowWorkspace2flowCore,GatingSet-method} %\alias{getData,GatingSet-method} %\alias{getGate,GatingSet,numeric-method} %\alias{getKeywords,GatingSet,character-method} %\alias{getKeywords,GatingSet,numeric-method} %\alias{getSamples,GatingSet-method} %\alias{keyword,GatingSet,character-method} %\alias{lapply,GatingSet-method} %\alias{length,GatingSet-method} %\alias{plotPopCV,GatingSet-method} %\alias{show,GatingSet-method} \title{Class \code{"GatingSet"}} \description{ Class that holds a set of \code{GatingHierarchy} objects, representing a set of samples and the gating scheme associated with each. } \section{Objects from the Class}{ Objects can be created by a call to parseWorkspace(). The annotated data frame can be populated with the keywords from each sample. } \section{Description}{ Objects store a collection of GatingHierarchies and represent a group in a flowJo workspace. } \section{Slots}{ \describe{ \item{\code{set}:}{Object of class \code{"list"}. A list of GatingHierarchy objects } \item{\code{metadata}:}{Object of class \code{"AnnotatedDataFrame"}. Stores the metadata associated with this set of FCS samples. } } } \section{Methods}{ \describe{ \item{[}{\code{signature(x = "GatingSet", i = "ANY")}: Subset a GatingSet using the familiar bracket notation } \item{[<-}{\code{signature(x = "GatingSet", i = "ANY", j = "ANY", value = "GatingSet")}: Replace elements of a GatingSet. } \item{[[}{\code{signature(x = "GatingSet", i = "ANY")}: Extract a GatingHierarchy from a GatingSet } \item{[[<-}{\code{signature(x = "GatingSet", i = "ANY", j = "ANY", value = "GatingHierarchy")}: Replace a GatingHierarchy in a GatingSet } \item{flowWorkspace2flowCore}{\code{signature(obj = "GatingSet")}: Convert a GatingSet to a single workflow (if they have a common set of gates) or list of workflows if the GatingHierarchies differ. } \item{getData}{\code{signature(obj = "GatingSet")}: Return a flowSet for the GatingSet } \item{getGate}{\code{signature(obj = "GatingSet", y = "numeric")}: Return a flowSet for a subpopulation of each GatingHierarchy, numerically indexed. } \item{getKeywords}{\code{signature(obj = "GatingSet", y = "character")}: Get the keywords associated with sample y } \item{getKeywords}{\code{signature(obj = "GatingSet", y = "numeric")}: Get the keywords associated with sample y, numerical index. } \item{getSamples}{\code{signature(x = "GatingSet")}: Get the sample names of the GatingHierarchies in this GatingSet } \item{keyword}{\code{signature(object = "GatingSet", keyword = "character")}: Get the specific keyword for all samples in this GatingSet.} \item{lapply}{\code{signature(X = "GatingSet")}: lapply method for GatingSet } \item{length}{\code{signature(x = "GatingSet")}: Return the length of the GatingSet, number of GatingHierarhcy objects } \item{plotPopCV}{\code{signature(x = "GatingSet")}: plot the population coefficients of variation between flowJo and flowCore for all populations and all samples } \item{show}{\code{signature(object = "GatingSet")}: Print information about the GatingSet. } } } \references{ http://www.rglab.org/import-flowjo-workspaces-into-r-bioconductor/ } \author{ Greg Finak } \seealso{ \code{\linkS4class{AnnotatedDataFrame}} \code{\linkS4class{GatingHierarchy}} \code{\linkS4class{flowJoWorkspace}} } \examples{ require(flowWorkspaceData) d<-system.file("extdata",package="flowWorkspaceData") wsfile<-list.files(d,pattern="A2004Analysis.xml",full=TRUE) ws <- openWorkspace(wsfile); G<-try(parseWorkspace(ws,execute=TRUE,path=d,name=1)); plotPopCV(G); } \keyword{classes}