I have checked many times that fastqc is installed in bin folder and
library("fastqcr")
is also not giving any error still I am getting error of sh: 1: fastqc: not found for the following command
fastqc(fq.dir = "~/WES_Pipeline/Data", # FASTQ files directory
qc.dir = "~/WES_Pipeline/FASTQC", # Results direcory
threads = 4 # Number of threads
)
I am not able to figure out what is the possible reason for this error.
I am currently using R-version 3.4.3, Bioconductor 3.6 in ubuntu 14.04.