Description Usage Arguments Value Examples
View source: R/extractImages.R
Given a Data object and a vector of image indices (either in 1:6 or in 1:9) return only the data belonging to the selected images. If this extraction is performed on well level, either a well with only a subset of images is returned or a single ImageData object (or a list of ImageData) objects is/are returned.
1 |
x |
The original Data object, holding the superset of images. |
images |
A vector of integers, specifying image indices of the images to keep. |
keep.well |
(Only at WellData level) A boolean indicating whether to keep the WellData object intact or return ImageData object(s). |
wells |
(Only at PlateData level) A list of wells (see extractWells), to further limit the returned data set. |
keep.plate |
(Only at PlateData level) A boolean indicating whether to keep the PlateData object intact or return a (nested) list. |
Either a PlateData, WellData or ImageData object, or a possibly nested list, holding only the data corresponding to the specified subset of images.
1 2 3 | plate <- PlateData(PlateLocation("J101-2C"))
img_11 <- extractImages(plate, 1)
imgs <- extractImages(plate, c(5, 6), c("A15", "P2"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.