Description Usage Arguments Value Examples
View source: R/extractFeatures.R
Given a Data object and either a set of regular expressions to select or discard features or a set of features, return the same object type as the original, but only with a subset of features.
1 | extractFeatures(x, select = NULL, drop = NULL, features = NULL)
|
x |
The original Data object, containing the superset of features |
select |
A vector of strings (regular expressions), specifying features to keep |
drop |
A vector of strings (regular expressions), specifying features to drop |
features |
For performance reasons, the complete set of features to keep can be determined in advance and specified here (in this case, arguments select/drop will be ignored if not NULL) |
A Data object of the same type as x, but only storing a subset of all features.
1 2 3 4 | features <- c("^Cells.Location_Center_X$",
"^Cells.Location_Center_Y$")
data <- PlateData(PlateLocation("J101-2C"))
data <- extractFeatures(data, features)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.