plot_clusterGenes_markers | R Documentation |
This function makes a scatterplot of gene detection rate vs. mean detected
gene abundance, highlighting genes identified as cell type specific markers
by the user. This function will not work unless
addCellMarkersToCGS
has been run on the sCVdata object prior.
plot_clusterGenes_markers(sCVd, selClust, cellMarkers)
sCVd |
The sCVdata object. |
selClust |
A named character vector representing the cluster to be
displayed. If |
cellMarkers |
The |
## Not run:
cellMarkers <- list("Cortical precursors"=c("Mki67","Sox2","Pax6",
"Pcna","Nes","Cux1","Cux2"),
"Interneurons"=c("Gad1","Gad2","Npy","Sst","Lhx6",
"Tubb3","Rbfox3","Dcx"),
"Cajal-Retzius neurons"="Reln",
"Intermediate progenitors"="Eomes",
"Projection neurons"=c("Tbr1","Satb2","Fezf2",
"Bcl11b","Tle4","Nes",
"Cux1","Cux2","Tubb3",
"Rbfox3","Dcx")
)
sCVdata <- labelCellTypes(sCVdata,
cellMarkers=cellMarkers,
symbolMap=NULL)
pdf("filepath.pdf",width=12,height=7)
plot_clusterGenes_markers(sCVd=sCVdata,
selClust="1",
cellMarkers=cellMarkers)
dev.off()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.