Commit da494198 authored by Matej Lexa's avatar Matej Lexa
Browse files

Fixed bin/R/plot_barplot.R to widen with the number of families to show all labels

parent ccd95460
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -22,7 +22,8 @@ print(args)
load(args[1])

# plot and save as a PNG file
png(file = paste0("repeat_family_barplot.png"), units="in", width=6, height=6, res=300)
num_families <- length(table(tab$family1))
png(file = paste0("repeat_family_barplot.png"), units="in", width=6*num_families/20, height=6, res=300)
barplot(table(tab$family1), xlab="Repeat family", ylab="count", las=2)
dev.off()