| fortify_fs {ggcyto} | R Documentation |
The method provides a universe interface to convert a generic R object into a flowSet useful for ggcyto
fortify_fs(model, data, ...) ## S3 method for class 'flowSet' fortify_fs(model, data, ...) ## Default S3 method: fortify_fs(model, data, ...) ## S3 method for class 'flowFrame' fortify_fs(model, data, ...) ## S3 method for class 'GatingSetList' fortify_fs(model, data, ...) ## S3 method for class 'GatingSet' fortify_fs(model, data, ...)
model |
flow object(flowFrame or GatingSet) to be converted to flowSet. when it is a GatingSet, it must contain the subset information stored as 'subset' attribute. |
data |
original dataset, if needed |
... |
other arguments passed to methods |
a flowSet/ncdfFlowSet object
data(GvHD)
fr <- GvHD[[1]]
fortify_fs(fr)
dataDir <- system.file("extdata",package="flowWorkspaceData")
gs <- load_gs(list.files(dataDir, pattern = "gs_manual",full = TRUE))
attr(gs, "subset") <- "CD4"
fortify_fs(gs)