View source: R/readCytosploreFCS.R
readCytosploreFCS | R Documentation |
This function reads and combines .FCS files created specifcally by Cytosplore.
readCytosploreFCS(dir = NULL, colNames = c("names", "description"))
dir |
directory containing the .FCS files created by Cytosplore |
colNames |
character string that specifies which label should be used as the column names. This could be the name of the markers 'names' or the description for the markers 'description'. |
The function returns an object of class cfList
.
To succesfully read the .FCS files created by cytosplore make sure that there are no double channels. It could happen for example that the Cytosplore tag (CSPLR_ST) is added twice, which will most likely cause an error. Therefore, never add the sample tag twice. It is possible to remove the double tag in software like Flowjo.
As for the colNames
parameter, both 'names' and 'description' will always work, it
is up to the user to decide which one is most preferable.
This function is a wrapper around read.FCS
. For more
flexibility see their help page.
dirFCS <- system.file("extdata", package="cytofast") cfData <- readCytosploreFCS(dir = dirFCS, colNames = "description")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.