choose.top.snps: Select the highest r2 SNPs to a given top marker.

View source: R/choose.top.snps.R

choose.top.snpsR Documentation

Select the highest r2 SNPs to a given top marker.

Description

Calculates r2 and selects SNPs with highest r2 to a given top marker.

Usage

choose.top.snps(data, chr, region, index.snp)

Arguments

data

data object in gwaa.data-class

chr

chromosome number (name) to be displayed

region

a vector of two coordinates

index.snp

the reference SNP (name of the marker)

Value

matrix with highest r2 SNPs with their r2 values and coordinates

Author(s)

Marcin Kierczak <Marcin.Kierczak@imbim.uu.se> Jagoda Jablonska <jagoda100jablonska@gmail.com


cgmisc-team/cgmisc documentation built on Jan. 3, 2024, 9:52 p.m.