Description Usage Arguments Details Value Examples
View source: R/plot_hexbin_fc.R
Plot of fold change of selected gene in single cell data using bivariate hexagon cells.
1 2 3 4 5 6 7 8 9 10 11 |
sce |
A |
col |
A string referring to the name of one column in the meta data of sce by which to compare. Note this factor can only contain two levels. |
mod |
A string referring to the name of one column in the meta data of sce by which to compare. Note this factor can only contain two levels. |
type |
A string referring to the name of one column in the meta data of sce by which to compare. Note this factor can only contain two levels. |
feature |
A string referring to the name of one feature. |
title |
A string containing the title of the plot. |
xlab |
A string containing the title of the x axis. |
ylab |
A string containing the title of the y axis. |
colors |
A vector of strings specifying which colors to use for plotting the different levels in the selected column of the meta data. |
This function plots fold change within each
hexagon, which are calculated with make_hexbin
.
Note that the fold change is only accurate if the condition
investigated is within the same individual. For conditions across
different individuals different methods that account for
individual-specific effects are required.
A ggplot2{ggplot}
object.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.