read.FCSset | R Documentation |
It reads multiple FCS files (in a computationaly-distributed way) contained in a specific folder or given through a vector. Important note: all files should have an identicar header (i.e., same name and markers order), if not only those common will be read (you can use FlowCT::unify.FCSheaders()
for doing that).
read.FCSset(
filelist = NULL,
directory = getwd(),
pattern = ".fcs$",
events = "all",
dataset = 1,
num.threads = NULL
)
filelist |
A vector with full path of FCS files to be read, commonly generated through |
directory |
If |
pattern |
Pattern for reading files within |
events |
Numeric vector indicating how many events to read in each FCS file (same behaviour as |
dataset |
Specify data segment to be read in the FCS file (same behaviour as |
num.threads |
Number of threads for reading the FCS files. For Windows users, you should to install |
## Not run:
# option 1: trough a vector with filenames (full path)
filelist <- list.files(pattern = "fcs", path = "../data/", full.names = T)
fcs1 <- read.FCSset(filelist = filelist, which.lines = 1000)
# option 2: specifiying a directory
fcs2 <- read.FCSset(directory = "../data", pattern = ".LMD", num.threads = 4)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.