plot_clusterGenes_search: scClustViz plot: Plot within-cluster gene expression...

View source: R/shinyModules.R

plot_clusterGenes_searchR Documentation

scClustViz plot: Plot within-cluster gene expression highlighting selected genes

Description

This function makes a scatterplot of gene detection rate vs. mean detected gene abundance, highlighting specified genes.

Usage

plot_clusterGenes_search(sCVd, selClust, GOI)

Arguments

sCVd

The sCVdata object.

selClust

A named character vector representing the cluster to be displayed. If labelCellTypes has been run, pass the appropriate element of attr(Clusters(sCV),"ClusterNames") to this argument to show both cluster number and cell type label in the legend.

GOI

A character vector of gene names to highlight.

Examples

## Not run: 
pdf("filepath.pdf",width=12,height=7)
plot_clusterGenes_search(sCVd=sCVdata,
                         selClust="1",
                         GOI=c("Actb","Sox2"))
dev.off()

## End(Not run)


BaderLab/scClustViz documentation built on Sept. 10, 2023, 11:51 p.m.