MyLDheatMap: Get the LDhaetmap from the vcf file (plink format) directly

Description Usage Arguments Value Author(s) Examples

View source: R/MyLDheatMap.R

Description

This function defined to obtain the LDheatmap from the vcf file directly.

Usage

1
2
3
MyLDheatMap(vcffile, file.output = TRUE, file = "png",
  output = "region", title = "region:", verbose = TRUE, dpi = 300,
  ...)

Arguments

vcffile

The plink format vcf file. More detail can see View(test_vcf)

file.output

a logical, if file.output=TRUE, the result will be saved. if file.output=FALSE, the result will be printed. The default is TRUE

file

a character, users can choose the different output formats of plot, so far, "jpeg", "pdf", "png", "tiff" can be selected by users. The default is "png".

title

a character, the title of the LDheatmap will be "The LDheatmap of title". the default is "region:". I suggest users use your own title.

verbose

whether to print the reminder.

dpi

a number, the picture element for .jpeg, .png and .tiff files. The default is 300.

Value

the LDheatmap.

Author(s)

Tao Yan <tyan@zju.edu.cn> | <https://taoyan.netlify.com/>

Examples

1
MyLDheatMap(system.file("extdata","test.vcf", package = "ttplot"), title="your title")

YTLogos/ttplot documentation built on Aug. 20, 2019, 8:18 p.m.