Sample a flowFrame
cyto_sample(fr, display)
fr | object of class |
---|---|
display | numeric [0,1] indicating the percentage of events to plot. |
flowFrame
restricted to
size
events.
library(CytoRSuiteData) # Load in samples fs <- Activation # Constrict first sample by 50% cyto_sample(fs[[1]], 0.5)#> flowFrame object 'Activation1.fcs' #> with 25000 cells and 18 observables: #> name desc range minRange maxRange #> $P1 FSC-A <NA> 262144 0.00 262144 #> $P2 FSC-H <NA> 262144 0.00 262144 #> $P3 FSC-W <NA> 262144 0.00 262144 #> $P4 SSC-A <NA> 262144 0.00 262144 #> $P5 SSC-H <NA> 262144 0.00 262144 #> $P6 SSC-W <NA> 262144 0.00 262144 #> $P7 Alexa Fluor 488-A CD8 262144 -111.00 262144 #> $P8 PE-A Va2 262144 -111.00 262144 #> $P9 PE-Texas Red-A <NA> 262144 -111.00 262144 #> $P10 7-AAD-A CD69 262144 -111.00 262144 #> $P11 PE-Cy7-A <NA> 262144 -111.00 262144 #> $P12 Alexa Fluor 405-A <NA> 262144 -111.00 262144 #> $P13 Alexa Fluor 430-A <NA> 262144 -86.64 262144 #> $P14 Qdot 605-A <NA> 262144 -111.00 262144 #> $P15 Alexa Fluor 647-A CD44 262144 -111.00 262144 #> $P16 Alexa Fluor 700-A CD4 262144 -111.00 262144 #> $P17 APC-Cy7-A <NA> 262144 -111.00 262144 #> $P18 Time <NA> 262144 0.00 262144 #> 288 keywords are stored in the 'description' slot