marker_plot | R Documentation |
A marker plot is composed of:
Two plots of a dimred: one colored by a clustering, and second colored by expression of a marker (feature plot).
A plot of summarized marker expression: proportion of cells expressing a marker, colored by average expression.
A violin plot: expression of a marker in each cluster.
marker_plot(
sce,
dimred_name,
gene_ensembl_id,
group,
cluster_plot_title = NULL,
cluster_plot_subtitle = NULL,
cluster_plot_legend_title = NULL,
cluster_plot_label = TRUE,
cluster_plot_point_size = 1,
feature_plot_point_size = 1,
vln_plot_legend_title = NULL
)
sce |
A |
dimred_name |
A character scalar. |
gene_ensembl_id |
A character scalar. ENSEMBL ID of a marker. |
group |
|
cluster_plot_title, cluster_plot_subtitle, cluster_plot_legend_title, cluster_plot_label |
A character scalar. Applied to the dimred plot which is colored by |
cluster_plot_point_size |
A numeric scalar. |
feature_plot_point_size |
A numeric scalar. Applied to the feature plot. |
vln_plot_legend_title |
A character scalar. Applied to the violin plot. |
A patchwork
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.