I cant import bigwig file in r
Code: map_hg18 <- import("wgEncodeCrgMapabilityAlign100mer_chr6.bw",format="BigWig")
Error: Error in seqinfo(ranges) : UCSC library operation failed In addition: Warning message: In seqinfo(ranges) : No such file or directory mustOpenFd: Can't open wgEncodeCrgMapabilityAlign100mer to read
Session info:
sessionInfo() R version 3.6.2 (2019-12-12) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 18362)
Matrix products: default
locale: [1] LC COLLATE=English United States.1252 LC CTYPE=English United States.1252 LC MONETARY=English United States.1252 [4] LC NUMERIC=C LC TIME=English_United States.1252
attached base packages: [1] stats4 parallel stats graphics grDevices utils datasets methods base
other attached packages: [1] Rsamtools 2.2.3 BSgenome.Hsapiens.UCSC.hg18 1.3.1000 BSgenome 1.54.0
[4] rtracklayer 1.46.0 Biostrings 2.54.0 XVector 0.26.0
[7] HiCDataHumanIMR90 1.6.0 HiTC 1.30.0 GenomicRanges 1.38.0
[10] GenomeInfoDb 1.22.0 IRanges 2.20.2 S4Vectors 0.24.3
[13] BiocGenerics_0.32.0
loaded via a namespace (and not attached): [1] zlibbioc 1.32.0 GenomicAlignments 1.22.1 BiocParallel 1.20.1 lattice 0.20-40
[5] tools 3.6.2 SummarizedExperiment 1.16.1 grid 3.6.2 Biobase 2.46.0
[9] matrixStats 0.55.0 Matrix 1.2-18 GenomeInfoDbData 1.2.2 BiocManager 1.30.10
[13] RColorBrewer 1.1-2 bitops 1.0-6 RCurl 1.98-1.1 DelayedArray 0.12.2
[17] compiler 3.6.2 XML 3.99-0.3