subset_snpMatrix {martini}R 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.


[Package martini version 1.12.0 Index]