Description Usage Arguments Value Examples
The function process the unviariate beta regression as well as the annotation data matrix and combine the normalized data used for estimating the optimal boosted regression trees model.
1 2 | get_data_num(betas, annotations, pos = 2, pos_sign = 3, abs_effect = 2:5,
normalize = FALSE)
|
betas |
a matrix of regression coefficients from association analysis in the target population.
The first column is the chromosome for each SNP, and the column with the regression coefficient should be
specified by setting Both genotype data and phenotype data over individuals need to be standardized
to have |
annotations |
a matrix of annotation variables used to update the |
pos |
an integer indicating which columns of the data matrix |
pos_sign |
an integer indicating which column of the data matrix |
abs_effect |
a vector of integers indicating which columns of the data matrix |
normalize |
a logic indicating whether the univariate beta regression coefficients in |
a data matrix that can be directly used to estimate the optimal boosted regression trees model.
1 2 | data(annotation_data)
get_data_num(betas = univariate_beta, annotations = annotation_data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.