[go: nahoru, domu]

Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
LindoNkambule committed Aug 10, 2019
1 parent a022abf commit 41a1b45
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions VCFVisualize.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
library(data.table)
library(packHV) # required for plotting the histogram and boxplot together

file <- fread('gatk.vcf')
print (file)
quality <- file$QUAL
position <- file$POS

quality_histogram <- function(x){
hist_boxplot(x,
main = "Quality Distribution",
xlab = "QUAL",
col = 'cyan')
}
quality_histogram(quality)

0 comments on commit 41a1b45

Please sign in to comment.