I'm currently trying to run a spearman rank correlation test with both an X dataset and a Y dataset, both containing 3 rows (individuals). I can run the Spearman with cor() and get values, all of them being: -1, -.5, -5, or 1. This just doesn't seem right to me.. I don't have any 0s in the datasets. However, when I use rcorr(), it gives me an error:
Error in rcorr(BPT2, y = FunT2, type = "spearman") :
must have >4 observations
I am comparing Bacterial Phyla in the gut (my X) to metabolic readouts (my Y)
So my questions:
Are the results i'm getting accurate?
Should I be using a Spearman Rank Correlation in the first place?
Thanks!