Description Usage Arguments Details Value Examples
View source: R/heterozygousBar_html.R
The heterozygousBar_html
function generates an interactive graphical output of the alleles heterozygousity in a given population.
1 | heterozygousBar_html(gene_segment, chain = c("IGH", "IGK", "IGL"))
|
gene_segment |
a data frame of allele heterozygousity count in a given population. See details. |
chain |
the IG chain: IGH,IGK,IGL. Default is IGH. |
A data.frame
with the following columns.
'GENE'
: The gene call
'HM'
: Count of the Individuals homozygous to the gene
'HT'
: Count of the Individuals heterozygous to the gene
An interactive stacked barplot visualization of the allele hetrouzygousity in a given population.
1 2 | gene_segment <- data.frame(GENE = c("V1-2",'V3-3','D2-8','D3-16','J4','J6'), HM = c(20,60,55,7,30,0) , HT = c(80,40,45,93,0,45))
heterozygousBar_html(gene_segment)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.