Skip to content
Snippets Groups Projects
Verified Commit 4f33f1e3 authored by Laurent Modolo's avatar Laurent Modolo
Browse files

add kmerclust_plot.R

parent 086a8767
No related branches found
No related tags found
No related merge requests found
library(kmerclust)
library(ggplot2)
args <- commandArgs(trailingOnly = TRUE)
print(args)
load(file = paste0(args[3], ".Rdata"))
load(file = paste0(args[3], "_boot.Rdata"))
res %>%
ggplot(aes(x = name, y = BIC)) +
geom_violin() %>%
theme_bw()
ggsave(paste0(args[3], "_BIC.pdf"))
res %>%
ggplot(aes(x = name, y = WSS_f / BSS)) +
geom_violin() %>%
theme_bw()
ggsave(paste0(args[3], "_WSS_BSS.pdf"))
count %>%
ggplot(aes(x = count_m, y = count_f)) %>%
theme_bw()
ggsave(paste0(args[3], "_scatter.pdf"))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment