arrange_covars {martini} | R Documentation

## Prepare covariates for `scones`

### Description

Prepares de covariates data.frame for the functions used in `scones`, like `single_snp_association` or `score_folds` .

### Usage

    arrange_covars(gwas, covars)

### Arguments

`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.

### Value

The covars data.frame, with the rows in the same order as gwas.

[Package martini version 1.14.0 Index]