Error in "rdo.mapCor.gcCor = rd.gcCorrect(rdo.mapCor)"
Hi~ When I run "rdo.mapCor.gcCor = rd.gcCorrect(rdo.mapCor)", I got the error "Error in { : task 1 failed - "non-numeric argument to binary operator". I downloaded hg19 annotations from https://xfer.genome.wustl.edu/gxfer1/project/cancer-genomics/readDepth/index.html. I don't know if it is something wrong with my bed files in the reads folder. Could you please give me some instructions. Thank you!
It is a issue about R version. I did a small test and found It works for R 3.5 but NOT WORKS for R 4.0.
-
After installing R, I installed Bioconductor Packages
-
Installed 4 dependent packages:
BiocManager::install(c("IRanges","foreach","doMC","DNAcopy"))
- Installed readDepth manually:
git clone https://github.com/chrisamiller/readDepth.git
R CMD build readDepth
R CMD INSTALL readDepth_0.9.8.5.tar.gz
Good lock!