plot_LD | R Documentation |
Plot a heatmap of pairwise LD between SNPs.
plot_LD(
LD_matrix,
query_dat,
span = 10,
method = c("stats", "gaston", "graphics"),
...
)
LD_matrix |
LD matrix. |
query_dat |
SNP-level summary statistics subset to query the LD panel with. |
span |
This is very computationally intensive,
so you need to limit the number of SNPs with span.
If |
method |
Method to use for plotting:
|
... |
Additional arguments passed to plotting function. |
Other LD:
check_population_1kg()
,
compute_LD()
,
filter_LD()
,
get_LD()
,
get_LD_1KG()
,
get_LD_1KG_download_vcf()
,
get_LD_UKB()
,
get_LD_matrix()
,
get_LD_vcf()
,
get_locus_vcf_folder()
,
ldlinkr_ldproxy_batch()
,
popDat_1KGphase1
,
popDat_1KGphase3
,
rds_to_npz()
,
saveSparse()
,
save_LD_matrix()
,
snpstats_get_MAF()
query_dat<- echodata::BST1
LD_matrix <- echodata::BST1_LD_matrix
echoLD::plot_LD(LD_matrix = LD_matrix,
query_dat= query_dat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.