I'm working with R version 3.3.3 and ChAMPdata_2.6.0. I'm analyzing data from EPIC beadchip. The program was able to run the champ load step but when I run the BMIQ normalization using the following command: mynorm<-champ.norm(beta=myload$beta,arraytype="EPIC",cores=1) it stops and an error message is present:
> mynorm<-champ.norm(beta=myload$beta,arraytype="EPIC",cores=1,plotBMIQ=F)
[===========================]
[>>>>> ChAMP.NORM START <<<<<<]
-----------------------------
champ.norm Results will be saved in ./CHAMP_Normalization/
[ SWAN method call for BOTH rgSet and mset input, FunctionNormalization call for rgset only , while PBC and BMIQ only needs beta value. Please set parameter correctly. ]
<< Normalizing data with BMIQ Method >>
Note that,BMIQ function may fail for bad quality samples (Samples did not even show beta distribution).
[1] "Fitting EM beta mixture to type1 probes"
[1] Inf
[1] 0.03220882
[1] 0.03563693
[1] 0.01558148
[1] 0.4998898
[1] "Done"
Error in density.default(beta1.v[class1.v == 3]) :
need at least 2 points to select a bandwidth automatically
Además: Warning messages:
1: In min(beta1.v[rand.idx[subsetclass1.v == 2]]) :
ningún argumento finito para min; retornando Inf
2: In max(beta1.v[rand.idx[subsetclass1.v == 2]]) :
ningun argumento finito para max; retornando -Inf
3: In min(beta1.v[rand.idx[subsetclass1.v == 3]]) :
ningún argumento finito para min; retornando Inf
Could you help me? I've tryed with plotBMIQ=F and also without core specification in the command line.
Thanks in advance!!!
Best,
Paula