readFCS | R Documentation |
Parse data from Flow Cytometry Standard (FCS) compliant files.
readFCS(
fileName,
options = list(header = list(start = list(at = 0, n = 6), space = list(at = 6, n = 4),
text_beg = list(at = 10, n = 8), text_end = list(at = 18, n = 8), data_beg = list(at
= 26, n = 8), data_end = list(at = 34, n = 8)), apply_scale = TRUE, dataset = 1,
force_header = FALSE, text_only = FALSE, text_check = FALSE, text_empty = FALSE,
text_trim = "none"),
display_progress = TRUE,
...
)
fileName |
path to file. |
options |
list of options used to parse FCS file. It should contain (otherwise, it will be filled with the default values listed below): |
display_progress |
whether to display a progress bar. Default is TRUE. |
... |
other arguments to be passed. |
'options' may be tweaked according to file type, instrument and software used to generate it.
Default 'options' should allow to read most files.
'options' members with the exception of 'header' may be passed thanks to '...'.
Experimental (as of v0.2.1.300), readFCS could handle FCS 3.2 files. However, it is important to note that R has no native support for 64bits unsigned integers which are defined in the FCS 3.2 standard.
So, those integers are extracted as double (8 bytes) and precision loss will happen for > 2^53 integers on 64bits platforms.
a list whose elements are lists for each dataset stored within the file.
each sub-list contains:
- header, list of header information corresponding to 'options'
- delimiter, unique character used to separate keyword-value pairs
- text, list of keywords values,
- data, data.frame of values.
Data File Standard for Flow Cytometry, version FCS 3.2 from Spidlen J. et al. available at \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1002/cyto.a.24225")}.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.