clump_snps: Clumping procedure for SLOPE

View source: R/clump_snps.R

clump_snpsR Documentation

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)

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.

Value

object of class clumpingResult. See the class documentation for details.


geneSLOPE documentation built on Aug. 16, 2023, 5:10 p.m.