Learn R Programming

geneSLOPE (version 0.38.3)

clump_snps: Clumping procedure for SLOPE

Description

Clumping procedure performed on SNPs, columns of matrix X, from object of class screeningResult, which is an output of function screen_snps. SNPs are clustered based on their correlations. For details see package vignette.

Usage

clump_snps(screenResult, rho = 0.5, pValues = NULL, verbose = TRUE)

Value

object of class clumpingResult

Arguments

screenResult

object of class screeningResult

rho

numeric, minimal correlation between two SNPs to be assigned to one clump

pValues

numeric vector, p-values for SNPs computed outside geneSLOPE, eg. with EMMAX

verbose

logical, if TRUE (default) progress bar is shown