Hello, I am trying to use the p.adjust function for multiple testing.
here is what i have 9997 201674_s_at 0.327547396 9998 221013_s_at 0.834211067 9999 221685_s_at 0.185099475 I import them from excel have have the gene symbol as well as the pvalue here is the issue > pa<-p.adjust(pt,method="BH") Error in p[nna] : object is not subsettable In addition: Warning message: In is.na(p) : is.na() applied to non-(list or vector) of type 'closure' > adjust<-sum(pa<0.1) Is there anything i need to change? thanks, k -- View this message in context: http://www.nabble.com/p-adjust-using-Benjamn-and-Hochberg-tp15944523p15944523.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.