plotMarkerHeatmap | R Documentation |
Create heatmap for showing top marker expression in conditions
plotMarkerHeatmap(
object,
result,
topN = 5,
lfcThresh = 1,
padjThresh = 0.05,
pctInThresh = 50,
pctOutThresh = 50,
dedupBy = c("logFC", "padj"),
groupBy = NULL,
groupSize = 50,
column_title = NULL,
...
)
object |
A liger object, with normalized data and metadata to annotate available. |
result |
The data.frame returned by |
topN |
Number of top features to be plot for each group. Default
|
lfcThresh |
Hard threshold on logFC value. Default |
padjThresh |
Hard threshold on adjusted P-value. Default |
pctInThresh , pctOutThresh |
Threshold on expression percentage. These
mean that a feature will only pass the filter if it is expressed in more than
|
dedupBy |
When ranking by padj and logFC and a feature is ranked as top
for multiple clusters, assign this feature as the marker of a cluster when
it has the largest |
groupBy |
Cell metadata variable names for cell grouping. Downsample
balancing will also be aware of this. Default |
groupSize |
Maximum number of cells in each group to be downsampled for
plotting. Default |
column_title |
Title on the column. Default |
... |
Arguments passed on to
|
A HeatmapList-class object.
defaultCluster(pbmc) <- pbmcPlot$leiden_cluster
pbmc <- normalize(pbmc)
plotMarkerHeatmap(pbmc, deg.marker)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.