Description Usage Arguments Value Examples
View source: R/normalizeData.R
After running aggregate, bscore or MARS augmentation functions, this function can be used for centering and scaling data.
1 | normalizeData(x, ...)
|
x |
The Data object of interest. |
select |
A vector of regular expressions for selecting features to normalize. |
drop |
A vector of regular expressions for dropping some of the previously matched features. |
values |
The type of features to normalize. |
center |
NULL of the type of features to use for centering. |
scale |
NULL of the type of features to use for scaling |
features |
For internal use only. |
A Data object of input type with normalized features added.
1 2 3 4 5 6 7 8 9 10 11 12 | data <- PlateData(PlateLocation("J101-2C"))
data <- augmentImageLocation(data)
data <- augmentCordinateFeatures(data, ellipse=1, facet=NULL,
center.dist=FALSE, density=FALSE)
data <- augmentBscore(data)
data <- augmentMars(data)
data <- augmentAggregate(data, features="_MARSed$", level="plate",
func.aggr="median")
data <- augmentAggregate(data, features="_MARSed$", level="well",
neighbors=TRUE, func.aggr="mad")
data <- normalizeData(data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.