R/plot_feature_distributions.R
plot_feature_distributions.Rd
Plot feature distributions from SingleCellExperiment objects
plot_feature_distributions( sce_list, features, x, color = x, fill = x, facet_rows = c(".feature"), facet_columns = c(".sample"), assay = "logcounts", alt_exp = NULL, ... ) plot_features( sce_list, features, x, color = x, fill = x, 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
NULL#> NULL