View source: R/graphic_functions.R
hapDendo | R Documentation |
The hapDendo
function generates a graphical output of an hierarchical clustering based on the Jaccard distance between multiple samples' haplotypes.
hapDendo( hap_table, chain = c("IGH", "IGK", "IGL", "TRB", "TRA"), genes_order = NULL, removeIGH = TRUE, mark_low_lk = TRUE, lk_cutoff = 1 )
hap_table |
haplotype summary table. See details. |
chain |
the IG/TR chain: IGH,IGK,IGL,TRB. Default is IGH. |
genes_order |
A vector of the genes by the desired order. Default is by GENE.loc |
removeIGH |
if TRUE, 'IGH'\'IGK'\'IGL' prefix is removed from gene names. Default is TRUE. |
mark_low_lk |
if TRUE, a texture is add for low lK values. Default is TRUE. |
lk_cutoff |
the lK cutoff value to be considerd low for texture layer. Default is lK<1. |
A data.frame
created by createFullHaplotype
.
A multitple samples visualization of the distances between haplotypes.
# Plotting haplotype hierarchical clustering based on the Jaccard distance hapDendo(samplesHaplotype)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.