# extract flowFrame data structure from the given R object

Source: `R/getFlowFrame.R`
`getFlowFrame.Rd`

Mainly to get the channel and marker information.

    getFlowFrame(x)

## Arguments

x | flowSet, ncdfFlowList, GatingSet, GatingHierarchy, or GatingSetList

## Value

a flowFrame. When x is a ncdfFlowSet or GatingSet that is associated with ncdfFlowSet, the raw event data is not read and an empty flowFrame is returned.

## Examples

    data(GvHD)
    fs <- GvHD[1:2]
    getFlowFrame(fs)# fs is a flowSet#> flowFrame object 's5a01'
    #> with 3420 cells and 8 observables:
    #>      name              desc range minRange maxRange
    #> $P1 FSC-H        FSC-Height  1024        0     1023
    #> $P2 SSC-H        SSC-Height  1024        0     1023
    #> $P3 FL1-H         CD15 FITC  1024        1    10000
    #> $P4 FL2-H           CD45 PE  1024        1    10000
    #> $P5 FL3-H        CD14 PerCP  1024        1    10000
    #> $P6 FL2-A              <NA>  1024        0     1023
    #> $P7 FL4-H          CD33 APC  1024        1    10000
    #> $P8  Time Time (51.20 sec.)  1024        0     1023
    #> 169 keywords are stored in the 'description' slot
    dataDir <- system.file("extdata",package="flowWorkspaceData")
    gs <- load_gs(list.files(dataDir, pattern = "gs_manual",full = TRUE))
    getFlowFrame(gs)# gs is a GatingSet#> flowFrame object 'CytoTrol_CytoTrol_1.fcs'
    #> with 0 cells and 12 observables:
    #>          name         desc      range  minRange   maxRange
    #> $P1     FSC-A         <NA> 262142.000    0.0000 262142.000
    #> $P2     FSC-H         <NA> 262142.000    0.0000 262142.000
    #> $P3     FSC-W         <NA> 262142.000    0.0000 262142.000
    #> $P4     SSC-A         <NA> 262142.000    0.0000 262142.000
    #> $P5  <B710-A>  CD4 PcpCy55   4096.787  426.3119   4096.787
    #> $P6  <R660-A>     CD38 APC   4096.465  518.5215   4096.465
    #> $P7  <R780-A>    CD8 APCH7   4093.440  877.4007   4093.440
    #> $P8  <V450-A>     CD3 V450   4097.781 -903.5115   4097.781
    #> $P9  <V545-A>  HLA-DR V500   4097.264  213.4429   4097.264
    #> $P10 <G560-A>      CCR7 PE   4097.404  110.2343   4097.404
    #> $P11 <G780-A> CD45RA PECy7   4096.723  448.9122   4096.723
    #> $P12     Time         <NA>    294.392    0.0020    294.392
    #> 198 keywords are stored in the 'description' slot