Description Usage Arguments Value Examples
View source: R/plot_feature_distributions.R
Plot feature distributions from SingleCellExperiment objects
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | plot_feature_distributions(
sce_list,
features,
x,
color = x,
fill = NULL,
facet_rows = c(".feature"),
facet_columns = c(".sample"),
assay = "logcounts",
alt_exp = NULL,
...
)
plot_features(
sce_list,
features,
x,
color = x,
fill = NULL,
facet_rows = c(".feature"),
facet_columns = c(".sample"),
assay = "logcounts",
alt_exp = NULL,
...
)
|
sce_list |
list of SingleCellExperiment objects |
features |
numeric features to plot - can be from reducedDims, colData, or assay data |
x |
colData variable to plot on x-axis |
color |
colData variable to color points by |
fill |
colData variable to fill by |
facet_rows |
variables from colData to facet on, can also include ".sample" or ".feature" as described below |
facet_columns |
variables from colData to facet on, can also include ".sample" or ".feature" as described below |
assay |
assay to obtain data from (counts, logcounts, etc) |
alt_exp |
alternate experiment to obtain data from |
... |
other parameters passed to ggexp::plot_distributions |
ggplot object
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.