pip_structure_plot | R Documentation |
Making a structure plot of partitioned PIP by locus This function is adapted from the 'fastTopics' package https://stephenslab.github.io/fastTopics/
pip_structure_plot(
mat,
categories,
colors,
ticks = NULL,
font.size = 9,
highlight = NULL,
xlab = "Locus",
ylab = "Proportion",
legend.title = "Category"
)
mat |
A matrix of the proportion of PIPs partitioned to each annotation category, rows are loci, columns are annotation categories. |
categories |
annotation categories |
colors |
Colors of the structure plot categories |
ticks |
Labels of x-axis |
font.size |
Font size of structure plot |
highlight |
Highlight a locus |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.