extractWells: Extract WellData objects form a PlateData object

Description Usage Arguments Value Examples

View source: R/extractWells.R

Description

Given a PlateData object and a single WellLocation object of a list of WellLocation objects, return either a PlateData object containing only the specified subset of wells or a single WellData/a list of WellData objects.

Usage

1

Arguments

x

The original PlateData object, holding the superset of wells

wells

A single WellLocation object/a list of WellLocation objects, a single integer/vector of integers (in 1:384), or a single string/vector of strings (e.g. A5) specifying the targets.

keep.plate

A boolean indicating whether to keep the PlateData object intact or return WellData object(s)

Value

Either a PlateData or a WellData object holding only the data corresponding to the specified subset of wells

Examples

1
2
3
plate  <- PlateData(PlateLocation("J101-2C"))
a23 <- extractWells(plate, "A23", FALSE)
wells <- extractWells(plate, c(135, 155))

nbenn/singleCellFeatures documentation built on May 23, 2019, 12:24 p.m.