Skip to content

Commit

Permalink
fixed violin plot to be compatible with seuratv3
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Roelli committed Apr 11, 2020
1 parent 377e6ef commit acef6df
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/plot_violine.R
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,7 @@ seuratobj <- AddMetaData(seuratobj, tmp, "umi.per.gene")


gg <- VlnPlot(seuratobj,
c("nCount_RNA", "nFeature_RNA", "top50", "umi.per.gene", "pct.Ribo", "pct.mito"),
x.lab.rot = TRUE, do.return = TRUE
c("nCount_RNA", "nFeature_RNA", "top50", "umi.per.gene", "pct.Ribo", "pct.mito")
)
# ggsave(gg,file=file.path("violinplots_comparison_UMI.pdf"),width=18,height=18)
ggsave(gg, file = snakemake@output$pdf_violine, width = 18, height = 18)
Expand Down

0 comments on commit acef6df

Please sign in to comment.