permute_snpMatrix: Permute samples

View source: R/utils.R

permute_snpMatrixR Documentation

Permute samples

Description

Compute a permutation of the samples of a snpMatrix object. Useful to make sure that the folds are not stratified by phenotype.

Usage

permute_snpMatrix(gwas)

Arguments

gwas

A SnpMatrix object with the GWAS information.


hclimente/martini documentation built on Feb. 26, 2024, 6:23 p.m.