If you get an error message like the following from getBinAnnotations(), this is because bin annotations are no longer hosted on S3 like they used to.
getBinAnnotations(15)
## Annotation package QDNAseq.hg19 not found.
## Downloading bin annotations for genome hg19, bin size 15kbp, and experiment type SR50 from URL http://qdnaseq.s3.amazonaws.com ...
## Error in download.file(url, destfile = pathnameT, mode = mode, quiet = !isVisible(verbose), :
## cannot open URL 'http://qdnaseq-ireland.s3.amazonaws.com/QDNAseq.hg19.15kbp.SR50.rds'
The solution is to install an annotation package (like QDNAseq.hg19) from Bioconductor:
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("QDNAseq.hg19")
If you get an error message like the following from
getBinAnnotations()
, this is because bin annotations are no longer hosted on S3 like they used to.The solution is to install an annotation package (like
QDNAseq.hg19
) from Bioconductor: