Description Usage Arguments Value Author(s) See Also Examples
LDblockHeatmap
visualize the LD structure or LD block results of the inputed data.
LDblockHeatmap <- function(geno=NULL, SNPinfo=NULL, genofile=NULL, SNPinfofile=NULL,geneinfo=NULL, geneinfofile = NULL,
geneDB = c("ensembl","ucsc","file"), assembly = c("GRCh38", "GRCh37"), geneid = "hgnc_symbol",
ensbversion = NULL, chrN=NULL,startbp=-Inf, endbp=Inf, blockresult=NULL, blocktype=c("bigld", "gpart"),
minsize=4, maxsize=50, LD=c("r2", "Dprime", "Dp-str"), MAFcut=0.05,CLQcut=0.5,
CLQmode=c("density", "maximal"), CLQshow=FALSE,
type=c("png", "tif"), filename="heatmap", res=300, onlyHeatmap=FALSE)
1 2 3 4 5 6 7 8 9 10 | LDblockHeatmap(geno = NULL, SNPinfo = NULL, genofile = NULL,
SNPinfofile = NULL, geneinfo = NULL, geneinfofile = NULL,
geneDB = c("ensembl", "ucsc", "file"), assembly = c("GRCh38",
"GRCh37"), geneid = "hgnc_symbol", ensbversion = NULL,
geneshow = TRUE, chrN = NULL, startbp = -Inf, endbp = Inf,
blockresult = NULL, blocktype = c("bigld", "gpart"), minsize = 4,
maxsize = 50, LD = c("r2", "Dprime", "Dp-str"), MAFcut = 0.05,
CLQcut = 0.5, CLQmode = c("density", "maximal"), CLQshow = FALSE,
type = c("png", "tif"), filename = "heatmap", res = 300,
onlyHeatmap = FALSE)
|
geno |
Data frame or matrix of additive genotype data, each column is additive genotype of each SNP. |
SNPinfo |
Data frame or matrix of SNPs information. 1st column is rsID and 2nd column is bp position. |
genofile |
Character constant; Genotype data file name (supporting format: .txt, .ped, .raw, .traw, .vcf). |
SNPinfofile |
Character constant; SNPinfo data file name (supporting format: .txt, .map). |
geneinfo |
Data frame or matrix of Gene info data. (1st col : Genename, 2nd col : chromosome, 3rd col : start bp, 4th col : end bp) |
geneinfofile |
A Character constant; file containing the gene information (1st col : Genename, 2nd col : chromosome, 3rd col : start bp, 4th col : end bp) |
geneDB |
A Character constant; database type for gene information. Set |
assembly |
A character constant; set |
geneid |
A character constant; When you use the gene information by |
ensbversion |
a integer constant; you can set the release version of ensembl
when you use the gene information by using |
geneshow |
logical; do not show the gene information if |
chrN |
Numeric(or Character) constant ; chromosome number to use. If the data contains more than one chromosome, you need to specify the chromosome to show. |
startbp |
Numeric constant; starting bp position of the |
endbp |
Numeric constant; last bp position of the |
blockresult |
Data frame; a result obtained by |
blocktype |
Character constant; "bigld" for |
minsize |
Integer constant; when |
maxsize |
Integer constant; when |
LD |
Character constant; LD measure to use, "r2" or "Dprime" or "Dp-str".
LD measures for LD heatmap (and BigLD execution when |
MAFcut |
Numeric constant; MAF threshold of SNPs to use. Default 0.05 |
CLQcut |
Numeric constant; threshold for the correlation value |r|, between 0 to 1. Default 0.5. |
CLQmode |
Character constant; the way to give priority among detected cliques.
if |
CLQshow |
logical; Show the LD bin structures, i.e. CLQ results, in each LD blocks. Notice that if the region to show includes more than 200 SNPs, the function do now show LD bin structures automatically. Default false. |
type |
Character constant; file format of output image file. set |
filename |
Character constant; filename of output image file. Default "heatmap". |
res |
Numeric constant; resolution of image. Default 300. |
onlyHeatmap |
logical; show the LD heatmap without the LD block boundaries. Default false. |
GPART
returns data frame which contains 9 information of each partition
(chromosome, index number of the first SNP and last SNP, rsID of the first SNP and last SNP,
basepair position of the first SNP and last SNP, blocksize, Name of a block)
Sun-Ah Kim <sunny03@snu.ac.kr>, Yun Joo Yoo <yyoo@snu.ac.kr>
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.