Description Usage Arguments Value Examples
The function generates the formula to be used in regression trees model.
1 | get_formulas(name, var_names)
|
name |
a character to indicate the regression coefficients from which complex trait. It should match the trait name used in the other analyses. |
var_names |
the names of the variables to be included. |
a formula specifying the response variable (univariate regression coefficients from target population) and the predictors are used to tune the weights in boosted regression trees model.
1 2 3 4 | data(annotation_data)
var_names <- colnames(annotation_data)
formulas = get_formulas(name = 'BMI', var_names = var_names[2:5])
print(formulas)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.