I tried to repeat the code we learned in Coursera >> Bioconductor for Genomic Data Science.
library(rtracklayer) library(AnnotationHub) ahub <- AnnotationHub() table(ahub$rdataclass) ahub.bw = subset(ahub, rdataclass == "BigWigFile" & species == "Homo sapiens") bw = ahub.bw[]
The error printed was:
downloading 1 resources retrieving 1 resource Error: failed to load resource name: AH32002 title: E001-H3K4me1.fc.signal.bigwig reason: 1 resources failed to download In addition: Warning messages: 1: download failed web resource path: ‘https://annotationhub.bioconductor.org/fetch/37442’ local file path: ‘~/Library/Caches/AnnotationHub/a42f440187eb_37442’ reason: SSL certificate problem: Invalid certificate chain 2: bfcadd() failed; resource removed rid: BFC25 fpath: ‘https://annotationhub.bioconductor.org/fetch/37442’ reason: download failed 3: download failed hub path: ‘https://annotationhub.bioconductor.org/fetch/37442’ cache resource: ‘AH32002 : 37442’ reason: bfcadd() failed; see warnings()
What should I do to get this work?