readXpress | R Documentation |
This function reads CellProfiler data into R. It is built exclusively for use with worm image data saved as a .rda file.
readXpress(
filedir,
rdafile,
design = FALSE,
px_per_um = 3.2937,
length_thresh = 98.811,
doseR = F
)
filedir |
The project directory or directories with CellProfiler data.
Provide a full path to the directory or a vector of project directory paths.
Each directory must have a |
rdafile |
The specific .rda file name in the |
design |
Logical parameter, if TRUE then a design file will be joined to data. The design file should be located in a sub-folder of the filedir named design. If FALSE no design file will be joined. |
px_per_um |
The number of pixels per micron (um) for the images.
This conversion factor will vary for different objectives or microscopes. The default is set for the AndersenLab
imageXpress nano 2X objective at |
length_thresh |
An object length threshold in um used to filter objects from the data. The default setting is |
doseR |
Logical, is this dose response data? The default, |
A list including two elements 1) A data frame that contains all CellProfiler model outputs as well as experimental treatments if a design file is used. If multiple project directories and .rda files are supplied, they will be joined together. 2) A data frame the contains the complete design file read from the project directory or directories. This data frame is useful for checking the completeness of the data after filtering steps are completed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.