subset_snpMatrix: Subsample snpMatrix

View source: R/utils.R

subset_snpMatrixR Documentation

Subsample snpMatrix

Description

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

Usage

subset_snpMatrix(gwas, samples)

Arguments

gwas

A SnpMatrix object with the GWAS information.

samples

Vector (logical or numeric) containing the samples to select.


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