I am trying to do an unpaired wilcoxon (Mann Whitney test) with a df containing gene expression values for two samples
SampleA SampleA SampleA SampleB SampleB
gene1 gene2 gene3 .. ..'
I have grouped the two sample types into SampleA and SampleB and using the following code to do a Wilcoxon test:
wilcox.test(df$tissueA, df$tissueB, paired=FALSE)
Error in wilcox.test.default(df$tissueA, df$tissueB, paired = FALSE) : 'x' must be numeric