get.ld.colors: Plot results of 'get.LD.colors'

View source: R/get.LD.colors.r

get.ld.colorsR Documentation

Plot results of get.LD.colors

Description

Returns colour scale based on LD to a chosen index marker.

Usage

get.ld.colors(data, chr, index.snp, region = NULL)

Arguments

data

an object of the gwaa.data-class

chr

number of chromosome of interest

index.snp

numeric index of the index marker

region

a region for which to obtain LD colors

wes.par

parameters for package wesanderson

Value

a list with four vectors: 1) LD-based colors, 2) pch values, 3) color scale and 4) breakpoints.

Author(s)

Marcin Kierczak <Marcin.Kierczak@imbim.uu.se>

See Also

plot.pac

Examples

## Not run: get.LD.colors(data, chr = 38, index.snp=270)
 
## End(Not run)

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