ChAMP Methylation analysis error code "could not find function champ.load"
0
0
Entering edit mode
sinha.puja ▴ 10
@sinhapuja-18708
Last seen 4.1 years ago

Hi..I tried to use ChAMP for my EPIC methylation array data and I use the following commands but it's not working,

if (!requireNamespace("BiocManager", quietly = TRUE))
  install.packages("BiocManager")
BiocManager::install("ChAMP", version = "3.8")
a
BiocManager::install("ChAMPdata", version = "3.8")

library(ChAMPdata)
library(ChAMP)
BiocManager::install("DMRcate")
BiocManager::install("ChAMP", dependencies=TRUE)
baseDir2 <- "C:/Users/sinha.puja/Desktop/idats"
myLoad <- champ.load("C:/Users/sinha.puja/Desktop/baseDir2")

It gives me error: Error in champ.load("C:/Users/sinha.puja/Desktop/baseDir2") : 
  could not find function "champ.load"

I tried very hard by uninstalling and the re-installing the same but every time I am stuck at the same step. Has anyone else experienced this, or has any idea what I can do to solve this problem, as I seem to be going round in circles, which is incredibly frustrating!

Thank you in advance for your suggestions!

champ • 1.4k views
ADD COMMENT
0
Entering edit mode

Hi, could you try to type and use tab key in R to show how many "champ.XXX" function do you have now?

Also, during your way of installing ChAMP, did you encounter any errors?

Best

Yuan Tian

ADD REPLY
0
Entering edit mode

I tried to use tab key in R and it shows no matches. Also while installing ChAMP I got the following warning messages:

ERROR: failed to lock directory 'C:/Users/sinha.puja/Documents/R/win-library/3.5' for modifying
Try removing 'C:/Users/sinha.puja/Documents/R/win-library/3.5/00LOCK-IlluminaHumanMethylationEPICanno.ilm10b2.hg19'
In R CMD INSTALL

Warning message:
In install.packages(pkgs = doing, lib = lib, repos = repos, ...) :
  installation of package ‘IlluminaHumanMethylationEPICanno.ilm10b2.hg19’ had non-zero exit status.

Please help.

ADD REPLY
0
Entering edit mode

Good, that's an error I have seen before. The message inform your that you have a bloken package: IlluminaHumanMethylationEPICanno.ilm10b2.hg19. 

Do as the message suggested: Go to folder  C:/Users/sinha.puja/Documents/R/win-library/3.5/, then remove the whole "00LOCK-IlluminaHumanMethylationEPICanno.ilm10b2.hg19'" folder. Then try reinstall this package.

Personally, I think when you install ChAMP without any error, then it should work.

Best

Yuan Tian

ADD REPLY

Login before adding your answer.

Traffic: 849 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6