Description Usage Arguments Value Examples
View source: R/handle-features.R
Calculate the max, minimum, median and spread for a given score
1 | get_ensemble(df, colname, prefix = colname, rev = FALSE)
|
df |
dataframe. The features dataset to calculate from and append to |
colname |
string. The name of the column corresponding to the feature for which ensemble features will be calculated |
prefix |
string. The prefix used when naming the ensemble feature columns (defaults to the name of the column) |
rev |
boolean. Flag to indicate that smaller scores are better for this feature |
Returns a dataframe that includes the new ensemble features
1 2 | get_ensemble(features, "ProQ2D") %>%
get_ensemble(., "SAINT2", "S2", rev=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.