View source: R/GlowwormOutputStacked.R
GlowwormOutputStacked | R Documentation |
This function generates a stacked bar plot showing the expression pattern for each gene across each subpopulations. Genes are ranked based on both specificity and abundance either across the whole population (if using GlowwormScale as input) or across specific subpopulations (if using GlowwormSubpopulation as input). Each broad population in the metadata is given one color, and subpopulations are indicated by the various shades of that color.
GlowwormOutputStacked(
GlowwormOutput,
ShowTop = "All",
Colors = "Default",
Legend = T,
RotateXText = 0,
SizeXText = 11
)
GlowwormOutput |
Output from GlowwormScale or GlowwormSubpopulation |
ShowTop |
A numeric value indicating how many of the top ranked genes to show. Default is all. |
Colors |
A vector of colors to use for the broad populations. 14 colors are set as default. If more than 14 broad populations are detected, the user will need to input a vector of colors. |
Legend |
Show Legend. Default is true. |
RotateXText |
Rotate gene names on x-axis. Default is 0, but 45 and 90 are well supported. |
SizeXText |
Size of gene names. Default is 11. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.