Created
August 9, 2017 21:53
-
-
Save FloWuenne/c4cacec753440781f0178ec001c1cd6b to your computer and use it in GitHub Desktop.
Plot VlnPlot for markers with minimum axis for joined marker plot as in (Macosko et al for retina)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
candidate_markers <- c("GAPDH","NANOG","ACTB") | |
for(this_gene in candidate_markers){ | |
## Violin Plot | |
vln_plot_avgdiff <- VlnPlot(expression_seurat.updated, | |
this_gene, | |
point.size.use = -1, | |
x.lab.rot=TRUE, | |
remove.legend = TRUE, | |
size.title.use = 0 , | |
y.max = 6, | |
size.y.use = 0, | |
do.return = TRUE | |
) | |
vln_plot_avgdiff <- vln_plot_avgdiff + | |
theme( | |
axis.text.x = element_blank(), | |
axis.ticks = element_blank(), | |
axis.line.x = element_blank(), | |
axis.line.y = element_blank()) + | |
coord_flip() | |
vln_plot_avgdiff |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment