View source: R/LDblockHeatmap.R
LDblockHeatmap | R Documentation |
LDblockHeatmap
shows the LDblock regions obtained by Big-LD algorithm.
LDblockHeatmap(geno, SNPinfo, chrN, showSNPs = NULL, LDblockResult = NULL, tick = c("bp", "rsID"), st.bp = 0, ed.bp = Inf, showLDsize = 3, savefile = FALSE)
geno |
A data frame or matrix of additive genotype data, each column is additive genotype of each SNP. |
SNPinfo |
A data frame or matrix of SNPs information. 1st column is rsID and 2nd column is bp position. |
chrN |
A integer value to specify chromosome number of the given data. |
showSNPs |
A data frame which is part of |
LDblockResult |
A data frame obtained by |
tick |
A character string to specify how to show first SNPs and last SNPs of LD blocks,
in |
st.bp |
A integer value to specify starting bp position of the region to draw. |
ed.bp |
A integer value to specify end bp position of the region to draw. |
showLDsize |
A integer value to specify the size (number of SNPs) of LDblocks to show ticks.
if |
savefile |
logical. If |
A grid graphical object of LD block heatmap. The LD block heatmap will be presented on the screen after execution of the function. #'
Sun-Ah Kim <sunny03@snu.ac.kr>, Yun Joo Yoo <yyoo@snu.ac.kr>
Big_LD
data(geno) data(SNPinfo) LDblockHeatmap(geno, SNPinfo,chrN = 22, showSNPs = NULL) LDblockHeatmap(geno, SNPinfo, 22, showSNPs = SNPinfo[c(100, 200), ], showLDsize = 10, savefile = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.