Hello everyone. I am trying to understand rarefaction curves.
As far as I understand, a rarefaction curve is a plot of the number of species (y-axis) against the number of read lengths (x-axis) in a sample. I know it has been used to estimate the diversity of a community by showing how the number of species increases as the read lengths of sample increases.
I couldn't understand the presence of the bar graph on the rarefaction curve. I think it shows the variance of the values. If one curve represents one diversity value of its own, can it have different diversity values when the same test is conducted repeatedly? (If one curve means one sample's number of species value.)
If my understanding is wrong, please teach me the concept of rarefaction more exactly and explain why the bar graph exists.
Thank you for your help in advance.
The x-axis is actually read depth--the number of reads chosen from a sample--not read length. That's why you see some lines stop short before the right margin of the figure--such samples don't have enough reads for the higher number samplings. At each simulated sequencing depth (read depth) multiple iterations of random sampling are performed (this is what the
--p-iterations flag does). Thus, at each point you have a distribution of diversity values of n=iterations. It looks like these are being plotted with a box-plot (not a bar graph).
Thank you for your kind reply and explanation. I have one more question for clarification. Does one rarefaction curve represent the diversity value of a single sample? If that's the case, could you please help me understand the concept of iterations for a single sample's value? I find this aspect a bit confusing. Could you please provide further clarification for one curve under the iterations conduction?
The iterations are the number of random samplings at each sequencing depth (read depth). One curve shows the distribution of Shannon's diversity metrics at each sequencing depth. The idea is to retain diversity while minimizing the number of samples that are dropped.
Thank you so much, Colin. I now have a clear understanding of everything. Variance and mean come into play because with each sequencing depth, different combinations of taxa are selected, resulting in a new alpha diversity value each time. I really appreciate your explicit explanation.