cyto_load | R Documentation |
cyto_load
is a convenient wrapper around
list.files
and
load_cytoset_from_fcs
which makes it easy to load .fcs files into a cytoset. cyto_load
is
also a wrapper around load_gs
to load
saved GatingSet objects.
cyto_load( path = ".", select = NULL, exclude = NULL, sort = TRUE, barcode = FALSE, restrict = FALSE, ... )
path |
points to the location of the .fcs files to read in. Preferably the name of folder in current working directory. |
select |
vector of file names to select when loading files, set to NULL be default to select all files in the specified directory. |
exclude |
vector of file names to exclude when loading files, set to NULL by default to load all files in the specified directory. |
sort |
logical indicating whether attempts should be made to sort the
files by name prior to loading, set to |
barcode |
logical indicating whether the flowFrames should be barcoded
using |
restrict |
logical indicating whether unassigned channels should be
dropped from the returned cytoset, set to FALSE by default. See
|
... |
additional arguments passed to |
object of class cytoset
or
GatingSet
.
Dillon Hammill, Dillon.Hammill@anu.edu.au
# Load in CytoExploreRData to access data library(CytoExploreRData) # Get path to Activation .fcs files in CytoExploreRData datadir <- system.file("extdata", package = "CytoExploreRData") path <- paste0(datadir, "/Activation") # Load in .fcs files into cytoset cs <- cyto_load(path) # cs is a cytoset class(cs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.