Description Usage Arguments Details Value Examples
Plot the relative proportion of the library accounted for by the most highly
expressed features for each cell for an SCESet
dataset.
1 2 3 4 5 6 |
x |
an |
y |
optional argument for generic |
... |
arguments passed to |
block1 |
character string defining the column of |
block2 |
character string defining the column of |
colour_by |
character string defining the column of |
nfeatures |
numeric scalar indicating the number of features to include in the plot. |
exprs_values |
character string indicating which values should be used
as the expression values for this plot. Valid arguments are |
ncol |
number of columns to use for |
linewidth |
numeric scalar giving the "size" parameter (in ggplot2 parlance) for the lines plotted. Default is 1.5. |
theme_size |
numeric scalar giving font size to use for the plotting theme |
Plots produced by this function are intended to provide an overview
of large-scale differences between cells. For each cell, the features are
ordered from most-expressed to least-expressed and the cumulative proportion
of the total expression for the cell is computed across the top
nfeatures
features. These plots can flag cells with a very high
proportion of the library coming from a small number of features; such cells
are likely to be problematic for analyses. Using the colour and blocking
arguments can flag overall differences in cells under different experimental
conditions or affected by different batch and other variables.
a ggplot plot object
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Set up an example SCESet
data("sc_example_counts")
data("sc_example_cell_info")
pd <- new("AnnotatedDataFrame", data = sc_example_cell_info)
example_sceset <- newSCESet(countData = sc_example_counts, phenoData = pd)
plot(example_sceset, exprs_values = "exprs")
plot(example_sceset, exprs_values = "exprs", colour_by = "Cell_Cycle")
plot(example_sceset, exprs_values = "exprs", block1 = "Treatment",
colour_by = "Cell_Cycle")
plot(example_sceset, exprs_values = "exprs", block1 = "Treatment",
block2 = "Mutation_Status", colour_by = "Cell_Cycle")
# What happens if chosen expression values are not available?
plot(example_sceset, block1 = "Treatment", colour_by = "Cell_Cycle")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.