Hello,
I am currently trying to use the ChAMP package in R on a set of 60 samples and have run into a problem with the champ.norm() function.
I am using ChAMP version 1.4.1 and 64-bit R version 3.1.2 and am using a cluster with 16GB of RAM.
The error, when running champ.norm() is:
Error in density.default(beta1.v[class1.v == 1]) :
need at least 2 points to select a bandwidth automatically
In addition: Warning message:
In max(beta1.v[rand.idx[subsetclass1.v == 1]]) :
no non-missing arguments to max; returning -Inf
I have been looking at other posts to see if this question has been solved but to no avail. Most of the suggestions say to make sure all of my versions are current or memory issues when using too large of a data set, but I have the most recent versions, and am only trying to run ChAMP on 60 samples.
These are the posts I have looked at:
https://groups.google.com/forum/#!topic/epigenomicsforum/w1ytMQkA3eI
https://groups.google.com/forum/#!topic/epigenomicsforum/NLeJ32kQrQA
https://groups.google.com/forum/#!msg/epigenomicsforum/w1ytMQkA3eI/L8V5T3ArDgoJ
Any help or suggestions would be greatly appreciated.
Best,
Julian