plot_feature_distributions: Plot feature distributions from SingleCellExperiment objects

Description Usage Arguments Value Examples

View source: R/plot_feature_distributions.R

Description

Plot feature distributions from SingleCellExperiment objects

Usage

 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,
  ...
)

Arguments

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

Value

ggplot object

Examples

1

keshav-motwani/scanalysis documentation built on Feb. 4, 2021, 2:21 a.m.