Skip to content

Commit

Permalink
Fixing issue Hoohm#71
Browse files Browse the repository at this point in the history
  • Loading branch information
seb-mueller committed Jan 26, 2019
1 parent 56c3f5e commit 7a537ec
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions scripts/plot_violine.R
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,7 @@ gg <- ggplot(meta.data, aes(x = nUMI, y = nGene, color=orig.ident)) +
# dev.new()
# htmlwidgets::saveWidget(ggplotly(gg),
# file.path(getwd(), snakemake@output$html_umi_vs_gene))
ggsave(gg, file = file.path(getwd(), snakemake@output$pdf_umi_vs_gene),
width = 12, height = 7)
ggsave(gg, file = snakemake@output$pdf_umi_vs_gene, width = 12, height = 7)



Expand All @@ -176,8 +175,7 @@ gg <- ggplot(meta.data, aes(x = nCounts, y = nGene, color=orig.ident)) +
# htmlwidgets::saveWidget(ggplotly(gg),
# file.path(getwd(), snakemake@output$html_count_vs_gene))

ggsave(gg, file = file.path(getwd(), snakemake@output$pdf_count_vs_gene),
width = 12, height = 7)
ggsave(gg, file = snakemake@output$pdf_count_vs_gene, width = 12, height = 7)


# head(meta.data,2)
Expand All @@ -187,4 +185,4 @@ ggsave(gg, file = file.path(getwd(), snakemake@output$pdf_count_vs_gene),

# exporting R Seurat objects into summary/R_Seurat_objects.rdata
save(snakemake, seuratobj,
file=file.path(getwd(), snakemake@output$R_objects))
file=file.path(snakemake@output$R_objects))

0 comments on commit 7a537ec

Please sign in to comment.