View source: R/sampleBuilding.R
addOperation | R Documentation |
addOperation create configuration object for the datasample
addOperation(parameterList, featureOperations)
parameterList, |
list of Preprocessing instructions for an operation. |
featureOperations, |
matrix where to list Operations on features. |
The configuration object created by the list of preprocessing instructions parameterList
in featureOperations
.
featOp <- matrix(ncol=4,nrow=0) #Adding two differents variables featOp <- addOperation(list("+","x","y"), featOp) #Select a variable featOp <- addOperation(list("select","x"), featOp) #Change a profile color featOp <- addOperation(list("signalColor","x","grey"), featOp) #Make a PCA projection (with the number of dimensions) featOp <- addOperation(list("projection","pca","0"), featOp) #Make a spectral projection featOp <- addOperation(list("projection","spectral"), featOp) #Scale the data featOp <- addOperation(list("scaling","on"), featOp) #Sample the data (with a sampling size) featOp <- addOperation(list("sampling","150"), featOp) #Make a log transformation of a variable featOp <- addOperation(list("log","x"), featOp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.