Description Usage Arguments Value
View source: R/plot_feature_rank.R
Feature Rank plot
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
value |
Value used for ranking and x-axis (i.e. UMI count). |
group |
Grouping variable for comparison (i.e. titration). |
group_names |
Rename group levels (i.e. can be used to append concentration or other info that is marker specific). Named vector (or list of such if split is set). |
split |
Splitting variable (generates individual plot for each group) |
celltype_group |
Celltype for grouping cells (i.e. lineage). |
cell_color_by |
Variable for coloring cells (i.e. celltype). Used for "barcode" plot. |
combine |
Should plot components be combined (default). If FALSE, a list of plot components will be returned. |
nrow |
Number of rows to use when wrapping |
threshold_y |
If not NULL, a threshold line will be drawn at a the set rank. If a single value, same threshold is set for all splits. When splitting, multiple values can be given in a vector (named by split) |
title |
If not NA, title will be set. If a single value title only first panel will get title. When splitting, multiple values can be given in a vector (named by split) |
remove_ylabel |
Should y-labels for all but the first panel be removed? |
remove_ylabel_width |
Decrease relative width of non-first plots by this factor to account for removed y-labels in others |
... |
Passed on to plot_feature_rank_single(). |
ggplot2 object or list of ggplot2 objects (if combine=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.