Description Usage Arguments Author(s) See Also Examples
View source: R/PlotSelectedAgeDistr.R
This function visualizes the PS or DS distribution of a selected set of genes as histogram.
1 2 3 4 5 6 7 8 9 10 |
ExpressionSet |
a standard PhyloExpressionSet or DivergenceExpressionSet object. |
gene.set |
a character vector storing the gene ids for which gene expression profiles shall be visualized. |
legendName |
a character string specifying whether "PS" or "DS" are are visualized. |
as.ratio |
logical value indicating whether or not relative frequencies shall be visualized. |
use.only.map |
logical value indicating whether or not a Phylostratigraphic Map or Divergence Map should be passed to the |
col |
colour of the bars. |
xlab |
label of the x-axis. |
ylab |
label of the y-axis. |
Hajk-Georg Drost
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | data(PhyloExpressionSetExample)
# generate an example gene set
set.seed(123)
ExGeneSet <- sample(PhyloExpressionSetExample[ , 2], 5000)
# gene count example
PlotSelectedAgeDistr(ExpressionSet = PhyloExpressionSetExample,
gene.set = ExGeneSet,
legendName = "PS",
as.ratio = TRUE)
# relative gene count example
PlotSelectedAgeDistr(ExpressionSet = PhyloExpressionSetExample,
gene.set = ExGeneSet,
legendName = "PS",
as.ratio = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.