Description Usage Arguments Details Value Examples
View source: R/alleleUsageBar_html.R
The alleleUsageBar_html
function generates an interactive graphical output of sum of unique allele that appeared in the given population.
1 | alleleUsageBar_html(gene_segment, chain = c("IGH", "IGK", "IGL"))
|
gene_segment |
a data frame of allele usage 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
'COUNT'
: Number of unique alleles that appeared in the given population.
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'), COUNT = c(2,9,2,2,1,2))
alleleUsageBar_html(gene_segment)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.