Description Usage Arguments Value Examples
View source: R/dotPercentage.R
This function calculate the percentage of genes in each category over given annotated gene sets and plot the percentages.
1 2 3 |
cate.gene |
a list of the five gene categories, alternatively output by |
annotated.gene |
a list of the annotated gene sets which the |
order.by |
one character out of of "Reversed","Inactive","Insufficient","Successful" and "Over" to specify a gene category the percentage is ordered by. |
type, lty, pch, col |
parameters for the plotting, specifying the type of plotting; the line type when
|
srt, font, cex, adj |
parameters for the text labeled on x-axis, specifying the string rotation in degrees;
the font of text; the text size, see graphic parameters in |
add.line |
logical to determine if to add lines on the dots, logical to |
legend |
logical to determine whether the legend is added on the figure, default to |
legend.label |
labels of the legend, applied only when |
... |
other parameters see |
a data frame with the percentage of cate.gene
in the annotated.gene
.
1 2 3 4 5 | # load the C/T-specific genes in 16 cells/tissues
data(human.gene)
data(cate.gene)
# perc = dotPercentage(cate.gene = cate.gene, annotated.gene = human.gene,
# order.by = "Successful")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.