add utility functions in R for FastQC