I am just starting out using R, and I am trying to create a False Discovery Rate plot. However, there's an error message that I keep running into that seems very basic. I've search everywhere for a solution but haven't been able to find one.
Here are the inputs and outputs:
> melanoma.data <- pamr.from.excel("MelanomaData.txt", 10, sample.labels=FALSE)
pamr.menu(melanoma.data)
1: pamr.train
2: pamr.cv
3: pamr.plotcv
...(other selections)
Selection: 1
Warning: a class contains only 1 sampleError in quantile.default(sd, offset.percent/100) :
missing values and NaN's not allowed if 'na.rm' is FALSE
Error during wrapup: cannot open the connection
I converted "MelanomaData" from an excel file into a text file. I've searched through the data to make sure that there are no NA's or blank values.
I'm at a lost as to what the problem could be, and any help would be greatly appreciated!