Description Usage Arguments Details Examples
This will create a bar plot with dots
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
input |
Bioconductor’s ExpressionSet Class with bulk value stored in fData. |
gene |
to plot the expression level of |
color_by |
a pData variable |
facet_by |
a pData variable |
point_by |
a pData variable. |
title |
The title |
colors |
What colors to utilize for categorial data. Be sure it is of the proper length! |
ncol |
How many columns if faceting |
number_labels |
to show the cell numbers and cell percentage of each bar. |
text_sizes |
a vector of title_size, axis_title, axis_text, legend_title, legend_text, facet_text, faults too c(20,10,5,10,5,5) |
theme |
the plot theme |
stackratio |
the overlap of dots. |
dotsize |
the size of dots. |
bar |
the weighted mean. |
binwidth |
average the values when dots are within the range of (max-min)*binwidth. |
link |
link the dots from same patients in each panel. |
Utilize information stored in pData to control the plot display. Each point_by as a dot with a bar showing the weighted mean of all point_by dots.
1 | plot_dotplot(ex_sc, gene = "ADCY7", color_by = "Skin", facet_by = "subCellType", point_by = "Patient")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.