View source: R/get.LD.colors.r
get.ld.colors | R Documentation |
get.LD.colors
Returns colour scale based on LD to a chosen index marker.
get.ld.colors(data, chr, index.snp, region = NULL)
data |
an object of the |
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 |
a list with four vectors: 1) LD-based colors, 2) pch values, 3) color scale and 4) breakpoints.
Marcin Kierczak <Marcin.Kierczak@imbim.uu.se>
plot.pac
## Not run: get.LD.colors(data, chr = 38, index.snp=270)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.