Hello. I'm trying to ajust the pvalues from the file I've got from Deseq2. But I keep getting error mesages:
p.adjust(dds, method = "bonferroni") Error in as.vector(x, mode = "numeric") : no method to coerce this S4 class to vector
Then I tried to leave only the gene ids and the pvalue. But I got another error mesage:
p.adjust(pvalue, method = "bonferroni") Error in p.adjust(pvalue, method = "bonferroni") : 'list' object cannot be coerced to type 'double'
Is there something wrong with my data? What can I do to solve this?
Thanks in advance.
So the p-values I got are already ajusted?