arrange_covars | R Documentation |
scones
Prepares de covariates data.frame for the functions used in
scones
, like single_snp_association
or score_folds
.
arrange_covars(gwas, covars)
gwas |
A SnpMatrix object with the GWAS information. |
covars |
A data frame with the covariates. It must contain a column 'sample' containing the sample IDs, and an additional columns for each covariate. |
The covars data.frame, with the rows in the same order as gwas.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.