View source: R/pairwisepredictionfunctions.R
OneHotEncoding | R Documentation |
Perform one-hot encoding of the sample metadata. This is useful when categorical covariates are used. This one-hot encoding will be used later in predictions, and will simplify the prediction process because the names of the result columns and the covariates will match up.
OneHotEncoding(inputData, covar = c())
inputData |
An object with the following fields: |
covar |
The clinical covariates to include in the model. These should be the same covariates that were included when running the IntLIM linear models. |
A list with two elements: (1) the new set of covariates, and (2) the new sample meta data, as encoded.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.