View source: R/plot_cluster_by_markers.R
plot_cluster_by_markers | R Documentation |
This function plots expression pattern of a cluster by marker genes, a.k.a. barcode plot.
plot_cluster_by_markers(
sce.E1,
sce.E2 = NULL,
cluster.name,
nsamp = 30,
name.self = "E1.",
name.cross = "E2.",
use.common.markergenes = TRUE,
scale.colorbar = FALSE,
cellheight = 10,
cellwidth = 5,
main = NULL,
filename = NA,
...
)
sce.E1 , sce.E2 |
Data objects of the SingleCellExperiment data class. If only |
cluster.name |
Name of the cluster to be plotted. |
nsamp |
Number of randomly selected cells to plot for a large cluster. Default: |
name.self , name.cross |
Prefix name of experiment for self and cross-experiment plots. Default: |
use.common.markergenes |
Boolean variable indicating if to plot only common marker genes in a cross-experiment plot. |
scale.colorbar |
Boolean variable indicating if to scale the color bar to [0,1] for normalized gene expression values. Default: |
cellwidth , cellheight , main , filename , ... |
Plotting parameters passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.